module Madison
Constants
- VERSION
Public Class Methods
get_abbrev(name)
click to toggle source
# File lib/madison.rb, line 11 def self.get_abbrev(name) @map.get_abbrev(name) end
get_name(abbrev)
click to toggle source
# File lib/madison.rb, line 15 def self.get_name(abbrev) @map.get_name(abbrev) end
states()
click to toggle source
# File lib/madison.rb, line 7 def self.states @map.states end
Public Instance Methods
madison_map()
click to toggle source
# File lib/madison.rb, line 33 def madison_map @madison_map ||= Madison::Map.new end
state_abbrev(name)
click to toggle source
# File lib/madison.rb, line 29 def state_abbrev(name) madison_map.get_abbrev(name) end
state_name(abbrev)
click to toggle source
# File lib/madison.rb, line 25 def state_name(abbrev) madison_map.get_name(abbrev) end
states()
click to toggle source
mixin methods
# File lib/madison.rb, line 21 def states madison_map.states end