Class: Faker::String

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/string.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, respond_to_missing?, sample, shuffle, translate, unique, with_locale

Class Method Details

.random(length = 32) ⇒ Object



6
7
8
# File 'lib/faker/string.rb', line 6

def random(length = 32)
  utf8string select_a length
end