Class: LanGrove::FakeRoot
- Inherits:
-
Object
- Object
- LanGrove::FakeRoot
- Defined in:
- lib/langrove/ext/fake_root.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#logger ⇒ Object
for easy spec setup.
-
#metrix ⇒ Object
Returns the value of attribute metrix.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(symbol, *args, &block) ⇒ Object
32 33 34 35 36 |
# File 'lib/langrove/ext/fake_root.rb', line 32 def method_missing( symbol, *args, &block ) logger.info "call to ROOT.#{symbol}( #{args})" unless logger.nil? end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
10 11 12 |
# File 'lib/langrove/ext/fake_root.rb', line 10 def config @config end |
#logger ⇒ Object
for easy spec setup
9 10 11 |
# File 'lib/langrove/ext/fake_root.rb', line 9 def logger @logger end |
#metrix ⇒ Object
Returns the value of attribute metrix.
11 12 13 |
# File 'lib/langrove/ext/fake_root.rb', line 11 def metrix @metrix end |