Class: FreeZipcodeData::Options

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/free_zipcode_data/options.rb

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



13
14
15
# File 'lib/free_zipcode_data/options.rb', line 13

def [](key)
  @@_options[key]
end

#hashObject



17
18
19
# File 'lib/free_zipcode_data/options.rb', line 17

def hash
  @@_options
end

#initialize_hash(hash) ⇒ Object



9
10
11
# File 'lib/free_zipcode_data/options.rb', line 9

def initialize_hash(hash)
  @@_options = hash
end