Class: Cch::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/cch/logger.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#implementationObject

Returns the value of attribute implementation.



3
4
5
# File 'lib/cch/logger.rb', line 3

def implementation
  @implementation
end

#thresholdObject

Returns the value of attribute threshold.



3
4
5
# File 'lib/cch/logger.rb', line 3

def threshold
  @threshold
end