Class: Pokey::Logger
- Inherits:
-
Object
- Object
- Pokey::Logger
- Defined in:
- lib/pokey/logger.rb
Instance Attribute Summary collapse
-
#log ⇒ Object
readonly
Returns the value of attribute log.
Instance Method Summary collapse
-
#initialize ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize ⇒ Logger
Returns a new instance of Logger.
9 10 11 |
# File 'lib/pokey/logger.rb', line 9 def initialize @log = Logging.logger[self] end |
Instance Attribute Details
#log ⇒ Object (readonly)
Returns the value of attribute log.
7 8 9 |
# File 'lib/pokey/logger.rb', line 7 def log @log end |