Class: MailProcessor::Base
- Inherits:
-
Object
- Object
- MailProcessor::Base
- Defined in:
- lib/mail_processor/base.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.log ⇒ Object
13 14 15 16 |
# File 'lib/mail_processor/base.rb', line 13 def self.log #Log4r::Logger["#{self.to_s}"] || Log4r::Logger.new("#{self.to_s}") Log4r::Logger["MailProcessor"] end |
Instance Method Details
#log ⇒ Object
18 19 20 |
# File 'lib/mail_processor/base.rb', line 18 def log self.class.log end |