Class: SmartLoggerWrapper::Options::To
- Defined in:
- lib/smart_logger_wrapper/options/to.rb
Instance Method Summary collapse
Instance Method Details
#apply!(messages, value, logger) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/smart_logger_wrapper/options/to.rb', line 7 def apply!(, value, logger) raise ApplicationError, 'No handler given' if value == nil value.puts .join("\n") rescue NoMethodError => e raise ApplicationError, e. end |