Class: Paraspec::LoggerWrapper
- Inherits:
-
Object
- Object
- Paraspec::LoggerWrapper
- Defined in:
- lib/paraspec/logger.rb
Instance Attribute Summary collapse
-
#ident ⇒ Object
Returns the value of attribute ident.
Instance Method Summary collapse
-
#initialize(logger) ⇒ LoggerWrapper
constructor
A new instance of LoggerWrapper.
- #method_missing(m, *args) ⇒ Object
Constructor Details
#initialize(logger) ⇒ LoggerWrapper
Returns a new instance of LoggerWrapper.
5 6 7 |
# File 'lib/paraspec/logger.rb', line 5 def initialize(logger) @logger = logger end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args) ⇒ Object
9 10 11 |
# File 'lib/paraspec/logger.rb', line 9 def method_missing(m, *args) @logger.send(m, *args) end |
Instance Attribute Details
#ident ⇒ Object
Returns the value of attribute ident.
31 32 33 |
# File 'lib/paraspec/logger.rb', line 31 def ident @ident end |