Module: Faker::BaconIpsum
- Extended by:
- BaconIpsum, ModuleUtils
- Includes:
- Lorem
- Included in:
- BaconIpsum
- Defined in:
- lib/ffakerer/bacon_ipsum.rb
Overview
Thanks to baconipsum.com/
Instance Method Summary collapse
Methods included from ModuleUtils
Methods included from Lorem
#characters, #paragraph, #paragraphs, #sentence, #sentences
Instance Method Details
#word ⇒ Object
13 14 15 |
# File 'lib/ffakerer/bacon_ipsum.rb', line 13 def word BACON_WORDS.rand end |
#words(num = 3) ⇒ Object
17 18 19 |
# File 'lib/ffakerer/bacon_ipsum.rb', line 17 def words(num = 3) BACON_WORDS.random_pick(num) end |