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

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

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
  fetch_sample(HEALTHCARE_WORDS)
end

#words(num = 3) ⇒ Object


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

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