Class: Feefi::Config
- Inherits:
-
Object
- Object
- Feefi::Config
- Defined in:
- lib/feefi/config.rb
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
6 7 8 |
# File 'lib/feefi/config.rb', line 6 def config @config end |
Class Method Details
.app_config(app_name) ⇒ Object
7 8 9 |
# File 'lib/feefi/config.rb', line 7 def app_config(app_name) config.apps.select {|ea| ea.name == app_name}.first end |
.method_missing(method_name) ⇒ Object
10 11 12 |
# File 'lib/feefi/config.rb', line 10 def method_missing(method_name) config.send method_name.to_sym end |