class StringIterator
Public Instance Methods
get()
click to toggle source
# File lib/hitman/iterators/string_iterator.rb, line 6 def get ['', random_string(10), random_string(500)] end
random_string(length)
click to toggle source
# File lib/hitman/iterators/string_iterator.rb, line 2 def random_string(length) rand(36**length).to_s(36) end