Module: FFakerTW::BaconIpsum
- Extended by:
- BaconIpsum, ModuleUtils
- Includes:
- Lorem
- Included in:
- BaconIpsum
- Defined in:
- lib/ffakerTW/bacon_ipsum.rb
Overview
Thanks to baconipsum.com/
Instance Method Summary collapse
Methods included from ModuleUtils
const_missing, k, luhn_check, underscore, unique
Methods included from RandomUtils
#fetch_sample, #rand, #shuffle
Instance Method Details
permalink #word ⇒ Object
[View source]
11 12 13 |
# File 'lib/ffakerTW/bacon_ipsum.rb', line 11 def word fetch_sample(BACON_WORDS) end |
permalink #words(num = 3) ⇒ Object
[View source]
15 16 17 |
# File 'lib/ffakerTW/bacon_ipsum.rb', line 15 def words(num = 3) fetch_sample(BACON_WORDS, count: num) end |