Module: Faker::DizzleIpsum

Extended by:
DizzleIpsum, Lorem, ModuleUtils
Included in:
DizzleIpsum
Defined in:
lib/ffakerer/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, underscore

Instance Method Details

#wordObject



13
14
15
# File 'lib/ffakerer/dizzle_ipsum.rb', line 13

def word
  DIZZLE_WORDS.rand
end

#words(num = 3) ⇒ Object



17
18
19
# File 'lib/ffakerer/dizzle_ipsum.rb', line 17

def words(num = 3)
  DIZZLE_WORDS.random_pick(num)
end