Class: Loggr
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Loggr
constructor
A new instance of Loggr.
Constructor Details
#initialize ⇒ Loggr
Returns a new instance of Loggr.
13 14 15 |
# File 'lib/loggr.rb', line 13 def initialize() @logger = Logger.new(output) end |
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
10 11 12 |
# File 'lib/loggr.rb', line 10 def logger @logger end |