class UruguayanExchangeRates::Enumeration

Public Class Methods

[](key) click to toggle source
# File lib/uruguayan_exchange_rates/enumeration.rb, line 24
def Enumeration.[](key)
  @hash[key]
end
add_item(key, value) click to toggle source
# File lib/uruguayan_exchange_rates/enumeration.rb, line 3
def Enumeration.add_item(key, value)
  @hash ||= {}
  @hash[key] = value
end
const_missing(key) click to toggle source
# File lib/uruguayan_exchange_rates/enumeration.rb, line 8
def Enumeration.const_missing(key)
  @hash[key]
end
each() { |key, value| ... } click to toggle source
# File lib/uruguayan_exchange_rates/enumeration.rb, line 12
def Enumeration.each
  @hash.each { |key, value| yield(key, value) }
end
keys() click to toggle source
# File lib/uruguayan_exchange_rates/enumeration.rb, line 20
def Enumeration.keys
  @hash.keys || []
end
values() click to toggle source
# File lib/uruguayan_exchange_rates/enumeration.rb, line 16
def Enumeration.values
  @hash.values || []
end