Module: FFaker::DizzleIpsum

Extended by:
DizzleIpsum, Lorem, ModuleUtils
Included in:
DizzleIpsum
Defined in:
lib/ffaker/dizzle_ipsum.rb

Overview

Thanks to Snoop Dogg

Instance Method Summary collapse

Methods included from Lorem

characters, paragraph, paragraphs, sentence, sentences

Methods included from ModuleUtils

const_missing, k, luhn_check, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Instance Method Details

#wordObject



11
12
13
# File 'lib/ffaker/dizzle_ipsum.rb', line 11

def word
  fetch_sample(DIZZLE_WORDS)
end

#words(num = 3) ⇒ Object



15
16
17
# File 'lib/ffaker/dizzle_ipsum.rb', line 15

def words(num = 3)
  fetch_sample(DIZZLE_WORDS, count: num)
end