Module: FFaker::Church

Extended by:
Church, ModuleUtils
Included in:
Church
Defined in:
lib/church_faker/name.rb,
lib/church_faker/job_title.rb

Constant Summary collapse

NUMBERS =
k %w[First Second Third Last Forty-Second]
CHEESE_NAMES =
k %w[Churchopolis Crosspointe Elevate Encounter Insurgence Kinetic Pulse Recreate Reproduce Resurgence StarChurch TheConnectingPoint TheCore Veritas Verve Victory]
DENOMINATIONS =
k %w[Baptist Catholic Charismatic Christian Evangelical Foursquare Lutheran Pentecostal Presbyterian Reformed United]
BODIES_OF_WATER =
k %w[Bay Beach Brook Cove Creek Gulf Harbor Lake Lagoon River Sea Sound Spring]
CHURCH_TYPES =
k %w[Assembly Chapel Christian\ Center Church Fellowship Ministries Parish Tabernacle]
LEVELS =
k %w[Senior Campus Central Internal Associate Executive]
DESCRIPTORS =
k %w[Administrative Children's Connections Creative Facilities High\ School Middle\ School Ministry Operations Preschool Small\ Groups Spiritual\ Formation Worship Youth]
JOBS =
k %w[Assistant Director Intern Leader Minister Pastor]

Instance Method Summary collapse

Instance Method Details

#job_titleObject



6
7
8
9
10
11
12
# File 'lib/church_faker/job_title.rb', line 6

def job_title
  case rand(3)
    when 0 then "#{level} #{descriptor} #{job}"
    when 1 then "#{descriptor} #{job}"
    when 2 then "#{level} #{job}"
  end
end

#nameObject



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/church_faker/name.rb', line 6

def name
  case rand(7)
    when 0 then "#{number} Church of #{city}"
    when 1 then "#{number} #{denomination} Church of #{city}"
    when 2 then "#{city} #{denomination}"
    when 3 then "#{city} #{church}"
    when 4 then "#{cheese_name}"
    when 5 then "#{city} #{denomination} #{church}"
    when 6 then "#{city_prefix} #{body_of_water} #{church}"
  end
end