class SymbolIterator

Public Instance Methods

get() click to toggle source
# File lib/hitman/iterators/symbol_iterator.rb, line 6
def get
  [:'', random_string(10).to_sym, random_string(500).to_sym]
end
random_string(length) click to toggle source
# File lib/hitman/iterators/symbol_iterator.rb, line 2
def random_string(length)
  rand(36**length).to_s(36)
end