Class: Amanzi::SLD::Config
- Inherits:
-
Object
- Object
- Amanzi::SLD::Config
- Defined in:
- lib/amanzi/sld.rb
Instance Attribute Summary collapse
-
#settings ⇒ Object
Returns the value of attribute settings.
Class Method Summary collapse
Instance Method Summary collapse
- #[](key) ⇒ Object
- #[]=(key, value) ⇒ Object
-
#initialize(options = {}) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(options = {}) ⇒ Config
Returns a new instance of Config.
24 25 26 |
# File 'lib/amanzi/sld.rb', line 24 def initialize(={}) @settings = end |
Instance Attribute Details
#settings ⇒ Object
Returns the value of attribute settings.
20 21 22 |
# File 'lib/amanzi/sld.rb', line 20 def settings @settings end |
Class Method Details
Instance Method Details
#[](key) ⇒ Object
30 31 32 |
# File 'lib/amanzi/sld.rb', line 30 def [](key) settings[key] end |
#[]=(key, value) ⇒ Object
27 28 29 |
# File 'lib/amanzi/sld.rb', line 27 def []=(key,value) settings[key] = value end |