Class: Blocktrain::Lookups
- Inherits:
-
Object
- Object
- Blocktrain::Lookups
- Includes:
- Singleton
- Defined in:
- lib/blocktrain/lookups.rb
Instance Method Summary collapse
-
#initialize ⇒ Lookups
constructor
A new instance of Lookups.
- #lookups ⇒ Object
Constructor Details
#initialize ⇒ Lookups
Returns a new instance of Lookups.
5 6 7 |
# File 'lib/blocktrain/lookups.rb', line 5 def initialize @lookups = OpenStruct.new fetch_yaml 'lookups' end |
Instance Method Details
#lookups ⇒ Object
9 10 11 |
# File 'lib/blocktrain/lookups.rb', line 9 def lookups @lookups end |