Class: Faker::String
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.random(length: 32) ⇒ String
Produces a random UTF-8 string with optional nested length selectors.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.random(length: 32) ⇒ String
Produces a random UTF-8 string with optional nested length selectors.
20 21 22 |
# File 'lib/faker/default/string.rb', line 20 def random(length: 32) utf8string select_a length end |