Class: Console::Terminal::Formatter::Failure
- Inherits:
-
Object
- Object
- Console::Terminal::Formatter::Failure
- Defined in:
- lib/puppeteer/console_patch.rb
Instance Method Summary collapse
- #format(event, stream, prefix: nil, verbose: false, **options) ⇒ Object
- #format_without_nil_guard ⇒ Object
Instance Method Details
#format(event, stream, prefix: nil, verbose: false, **options) ⇒ Object
38 39 40 41 42 |
# File 'lib/puppeteer/console_patch.rb', line 38 def format(event, stream, prefix: nil, verbose: false, **) event = event.dup event[:message] = event[:message].to_s format_without_nil_guard(event, stream, prefix: prefix, verbose: verbose, **) end |
#format_without_nil_guard ⇒ Object
36 |
# File 'lib/puppeteer/console_patch.rb', line 36 alias format_without_nil_guard format |