Class: Spyt::Loggable::Logger
- Inherits:
-
Object
- Object
- Spyt::Loggable::Logger
- Defined in:
- lib/spyt/loggable/logger.rb
Overview
Logger Class: Internal class used by Loggable module to provide logging methods.
Instance Method Summary collapse
-
#initialize(source) ⇒ Logger
constructor
Construct: Builds a Logger to represent a given source.
-
#method_missing(name, *args) ⇒ Object
Generic Log Handler: Proxy to Log::method_missing.
Constructor Details
#initialize(source) ⇒ Logger
Construct: Builds a Logger to represent a given source.
24 25 26 |
# File 'lib/spyt/loggable/logger.rb', line 24 def initialize source @source = source end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method