Created
November 13, 2008 21:52
-
-
Save wesrog/24640 to your computer and use it in GitHub Desktop.
Ruby array for state codes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STATE_CODES = [ | |
['AL', 'ALABAMA'], | |
['AK', 'ALASKA'], | |
['AZ', 'ARIZONA'], | |
['AR', 'ARKANSAS'], | |
['CA', 'CALIFORNIA'], | |
['CO', 'COLORADO'], | |
['CT', 'CONNECTICUT'], | |
['DE', 'DELAWARE'], | |
['DC', 'DISTRICT OF COLUMBIA'], | |
['FL', 'FLORIDA'], | |
['GA', 'GEORGIA'], | |
['HI', 'HAWAII'], | |
['ID', 'IDAHO'], | |
['IL', 'ILLINOIS'], | |
['IN', 'INDIANA'], | |
['IA', 'IOWA'], | |
['KS', 'KANSAS'], | |
['KY', 'KENTUCKY'], | |
['LA', 'LOUISIANA'], | |
['ME', 'MAINE'], | |
['MD', 'MARYLAND'], | |
['MA', 'MASSACHUSETTS'], | |
['MI', 'MICHIGAN'], | |
['MN', 'MINNESOTA'], | |
['MS', 'MISSISSIPPI'], | |
['MO', 'MISSOURI'], | |
['MT', 'MONTANA'], | |
['NE', 'NEBRASKA'], | |
['NV', 'NEVADA'], | |
['NH', 'NEW HAMPSHIRE'], | |
['NJ', 'NEW JERSEY'], | |
['NM', 'NEW MEXICO'], | |
['NY', 'NEW YORK'], | |
['NC', 'NORTH CAROLINA'], | |
['ND', 'NORTH DAKOTA'], | |
['OH', 'OHIO'], | |
['OK', 'OKLAHOMA'], | |
['OR', 'OREGON'], | |
['PA', 'PENNSYLVANIA'], | |
['RI', 'RHODE ISLAND'], | |
['SC', 'SOUTH CAROLINA'], | |
['SD', 'SOUTH DAKOTA'], | |
['TN', 'TENNESSEE'], | |
['TX', 'TEXAS'], | |
['UT', 'UTAH'], | |
['VT', 'VERMONT'], | |
['VA', 'VIRGINIA'], | |
['WA', 'WASHINGTON'], | |
['WV', 'WEST VIRGINIA'], | |
['WI', 'WISCONSIN'], | |
['WY', 'WYOMING'] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment