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, underscore

Methods included from Lorem

#characters, #paragraph, #paragraphs, #sentence, #sentences

Instance Method Details

#wordObject



13
14
15
# File 'lib/ffaker/hipster_ipsum.rb', line 13

def word
  HIPSTER_WORDS.sample
end

#words(num = 3) ⇒ Object



17
18
19
# File 'lib/ffaker/hipster_ipsum.rb', line 17

def words(num = 3)
  HIPSTER_WORDS.sample(num)
end