Class: Cch::Logger
- Inherits:
-
Object
- Object
- Cch::Logger
- Defined in:
- lib/cch/logger.rb
Instance Attribute Summary collapse
-
#implementation ⇒ Object
Returns the value of attribute implementation.
-
#threshold ⇒ Object
Returns the value of attribute threshold.
Instance Method Summary collapse
-
#initialize(threshold, implementation) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(threshold, implementation) ⇒ Logger
Returns a new instance of Logger.
5 6 7 8 |
# File 'lib/cch/logger.rb', line 5 def initialize(threshold, implementation) @threshold = threshold @implementation = implementation end |
Instance Attribute Details
#implementation ⇒ Object
Returns the value of attribute implementation.
3 4 5 |
# File 'lib/cch/logger.rb', line 3 def implementation @implementation end |
#threshold ⇒ Object
Returns the value of attribute threshold.
3 4 5 |
# File 'lib/cch/logger.rb', line 3 def threshold @threshold end |