Class: NotifyMe::Log::Base
- Inherits:
-
Object
- Object
- NotifyMe::Log::Base
- Defined in:
- lib/notifyme/log.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args) ⇒ Base
constructor
A new instance of Base.
- #logger ⇒ Object
Constructor Details
#initialize(args) ⇒ Base
Returns a new instance of Base.
7 8 9 10 |
# File 'lib/notifyme/log.rb', line 7 def initialize(args) @logger = args.first.to_s.downcase @parameters = args.last end |