module FrostyMeadow::Hex
Public Class Methods
generate(length = 5)
click to toggle source
# File lib/frosty_meadow.rb, line 20 def generate length = 5 return ((0..length).map{rand(256).chr}*"").unpack("H*")[0][0,length] end