Skip to content

Instantly share code, notes, and snippets.

@bwiggs
Last active November 11, 2015 20:20
Show Gist options
  • Save bwiggs/77f42de8603f17e2f1bd to your computer and use it in GitHub Desktop.
Save bwiggs/77f42de8603f17e2f1bd to your computer and use it in GitHub Desktop.
Insurance Company Name Generator
# Example Output
#
# Atlantic Federated states of micronesia Casualty Freedom Services
# Midcontinental Kansas Casualty Holdings Capital
# Coastal Iowa Casualty Specialty Freedom
# Pacific New mexico Fire & marine Freedom Center
# America Ohio Marine Limited Limited
# Midcontinental Connecticut Marine Capital Holdings
# Midwest Citizens Indemnity Assurance Partners
# Midwest Palau Property Corporation Group
# Central Ohio Aerial Holdings Freedom
# Eastern Indiana Fire & marine Group Freedom
# Atlantic Montana Marine Company Company
# Pacific Puerto rico Property Assurance Company
# Atlantic North dakota Property Center Holdings
# America General Marine Insurance Partners
# Northwest New mexico Auto Services Company
# Northwest Indiana Indemnity Limited Group
# Western Virginia Casualty Assurance Holdings
# New england Georgia Fire & marine Company Assurance
# Western Alabama Aerial Limited Insurance
# Pacific Indiana Fire & marine Underwriters Assurance
states = [
"Alabama",
"Alaska",
"American Samoa",
"Arizona",
"Arkansas",
"California",
"Colorado",
"Connecticut",
"Delaware",
"District Of Columbia",
"Federated States Of Micronesia",
"Florida",
"Georgia",
"Guam",
"Hawaii",
"Idaho",
"Illinois",
"Indiana",
"Iowa",
"Kansas",
"Kentucky",
"Louisiana",
"Maine",
"Marshall Islands",
"Maryland",
"Massachusetts",
"Michigan",
"Minnesota",
"Mississippi",
"Missouri",
"Montana",
"Nebraska",
"Nevada",
"New Hampshire",
"New Jersey",
"New Mexico",
"New York",
"North Carolina",
"North Dakota",
"Northern Mariana Islands",
"Ohio",
"Oklahoma",
"Oregon",
"Palau",
"Pennsylvania",
"Puerto Rico",
"Rhode Island",
"South Carolina",
"South Dakota",
"Tennessee",
"Texas",
"Utah",
"Vermont",
"Virgin Islands",
"Virginia",
"Washington",
"West Virginia",
"Wisconsin",
"Wyoming"
]
subjects = [
'citizens',
'first',
'general',
'preferred',
'standard',
'union',
'united',
] + states
geography = [
'america',
'atlantic',
'central',
'coastal',
'continental',
'eastern',
'midcontinental',
'midwest',
'national',
'new england',
'northwest',
'pacific',
'southwest',
'western',
]
products = [
'aerial',
'auto',
'casualty',
'Fire & Marine',
'marine',
'property',
'indemnity',
]
subject2 = [
'assurance',
'capital',
'center',
'company',
'corporation',
'freedom',
'group',
'holdings',
'insurance',
'investments',
'limited',
'mutual',
'partners',
'services',
'specialty',
'underwriters',
]
20.times do
the_name = []
the_name << geography.sample
the_name << subjects.sample
the_name << products.sample
the_name << subject2.sample
the_name << subject2.sample
puts the_name.each { |n| n.capitalize! } .join ' '
end
@bwiggs
Copy link
Author

bwiggs commented Nov 11, 2015

To Run

wget -O - https://gist.githubusercontent.com/bwiggs/77f42de8603f17e2f1bd/raw/3e17aae38b80e15c6937ae478fdd91f7968ae19c/insure.rb | ruby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment