Module: FFaker::HipsterIpsum
- Extended by:
- HipsterIpsum, ModuleUtils
- Includes:
- Lorem
- Included in:
- HipsterIpsum
- Defined in:
- lib/ffaker/hipster_ipsum.rb
Overview
thanks to hipsteripsum.me
Instance Method Summary collapse
Methods included from ModuleUtils
const_missing, k, luhn_check, underscore, unique
Methods included from RandomUtils
#fetch_sample, #rand, #shuffle
Methods included from Lorem
#characters, #paragraph, #paragraphs, #sentence, #sentences
Instance Method Details
#word ⇒ Object
11 12 13 |
# File 'lib/ffaker/hipster_ipsum.rb', line 11 def word fetch_sample(HIPSTER_WORDS) end |
#words(num = 3) ⇒ Object
15 16 17 |
# File 'lib/ffaker/hipster_ipsum.rb', line 15 def words(num = 3) fetch_sample(HIPSTER_WORDS, count: num) end |