Module: LogGraft
- Defined in:
- lib/log_graft.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Attribute Details
#logger ⇒ Object
6 7 8 |
# File 'lib/log_graft.rb', line 6 def logger defined?(@logger) ? @logger : self.class.logger end |
Class Method Details
.included(base) ⇒ Object
20 21 22 |
# File 'lib/log_graft.rb', line 20 def self.included(base) base.extend(ClassMethods) end |