Module: Jzip::Engine::Support::Notifier

Included in:
Jzip::Engine, Requirement, Minifier, Template
Defined in:
lib/jzip/engine/support/notifier.rb

Instance Method Summary collapse

Instance Method Details

#notify(message) ⇒ Object



7
8
9
10
# File 'lib/jzip/engine/support/notifier.rb', line 7

def notify(message)
  string = wrap(message)
  RAILS_ENV == "test" ? puts(string) : RAILS_DEFAULT_LOGGER.info(string)
end