Class: Baya::Configuration::File::AdapterConfig
- Inherits:
-
Object
- Object
- Baya::Configuration::File::AdapterConfig
- Defined in:
- lib/baya/configuration/file.rb
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(hash) ⇒ AdapterConfig
constructor
A new instance of AdapterConfig.
- #mode ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(hash) ⇒ AdapterConfig
Returns a new instance of AdapterConfig.
8 9 10 |
# File 'lib/baya/configuration/file.rb', line 8 def initialize(hash) @hash = hash end |
Instance Method Details
#config ⇒ Object
20 21 22 |
# File 'lib/baya/configuration/file.rb', line 20 def config @hash['config'] end |
#mode ⇒ Object
16 17 18 |
# File 'lib/baya/configuration/file.rb', line 16 def mode @hash['mode'] end |
#type ⇒ Object
12 13 14 |
# File 'lib/baya/configuration/file.rb', line 12 def type @hash['type'] end |