Method: Faker::Hipster.word
- Defined in:
- lib/faker/default/hipster.rb
.word ⇒ Object
6 7 8 9 |
# File 'lib/faker/default/hipster.rb', line 6 def word random_word = sample(translate('faker.hipster.words')) random_word =~ /\s/ ? word : random_word end |