Method: Compass::Logger#initialize
- Defined in:
- lib/compass/logger.rb
#initialize(*actions) ⇒ Logger
Returns a new instance of Logger.
53 54 55 56 57 |
# File 'lib/compass/logger.rb', line 53 def initialize(*actions) self. = actions.last.is_a?(Hash) ? actions.pop : {} @actions = DEFAULT_ACTIONS.dup @actions += actions end |