Module: FFaker::HealthcareIpsum

Extended by:
HealthcareIpsum, ModuleUtils
Includes:
Lorem
Included in:
HealthcareIpsum
Defined in:
lib/ffaker/healthcare_ipsum.rb

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



12
13
14
# File 'lib/ffaker/healthcare_ipsum.rb', line 12

def word
  HEALTHCARE_WORDS.sample
end

#words(num = 3) ⇒ Object



16
17
18
# File 'lib/ffaker/healthcare_ipsum.rb', line 16

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