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

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Methods included from Lorem

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

Instance Method Details

#wordObject



10
11
12
# File 'lib/ffaker/healthcare_ipsum.rb', line 10

def word
  fetch_sample(HEALTHCARE_WORDS)
end

#words(num = 3) ⇒ Object



14
15
16
# File 'lib/ffaker/healthcare_ipsum.rb', line 14

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