Module: Faker::IpsumTime
- Extended by:
- IpsumTime, Lorem, ModuleUtils
- Included in:
- IpsumTime
- Defined in:
- lib/ffaker/ipsum_time.rb
Constant Summary collapse
- ADVENTURE_WORDS =
k [ "Algebraic", "Math", "Alphanumerical", "Glob", "Finn", "Jake", "BMO", "Peebee", "Marcelene", "Simon" ]
Instance Method Summary collapse
Instance Method Details
#word ⇒ Object
7 8 9 |
# File 'lib/ffaker/ipsum_time.rb', line 7 def word ADVENTURE_WORDS.sample end |
#words(num = 3) ⇒ Object
11 12 13 |
# File 'lib/ffaker/ipsum_time.rb', line 11 def words(num = 3) ADVENTURE_WORDS.random_pick(num) end |