Class: Radiant::Helper::RLogger
- Inherits:
-
Object
- Object
- Radiant::Helper::RLogger
- Includes:
- Singleton
- Defined in:
- lib/radiant_helper.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ RLogger
constructor
A new instance of RLogger.
Constructor Details
#initialize ⇒ RLogger
Returns a new instance of RLogger.
53 54 55 |
# File 'lib/radiant_helper.rb', line 53 def initialize self.logger = Logger.new(STDOUT) end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
51 52 53 |
# File 'lib/radiant_helper.rb', line 51 def logger @logger end |