Sha256: 87b8ab42b01f20215b5b949423a6b558cac9554e09ef6811bc1b31f3399076df
Contents?: true
Size: 219 Bytes
Versions: 3
Compression:
Stored size: 219 Bytes
Contents
require 'facet/string/rand_index' class String # Return a random byte of _self_. # # require 'facet/string/rand_byte' # # "Ruby rules".rand_byte #=> 121 # def rand_byte self[rand_index] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
facets-0.7.0 | lib/facet/string/rand_byte.rb |
facets-0.7.1 | lib/facet/string/rand_byte.rb |
facets-0.7.2 | lib/facet/string/rand_byte.rb |