Module: ConfigFu
- Defined in:
- lib/config_fu.rb
Defined Under Namespace
Classes: Configuration
Constant Summary collapse
- VERSION =
'0.1.3'
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.
8 9 10 |
# File 'lib/config_fu.rb', line 8 def config @config end |
Class Method Details
.method_missing(meth, *args, &blk) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/config_fu.rb', line 10 def method_missing(meth, *args, &blk) if config.respond_to?(meth) config.send(meth) else raise NoMethodError, "No such config element '#{meth}' could be found." end end |