Class: Console::Terminal::Formatter::Failure

Inherits:
Object
  • Object
show all
Defined in:
lib/puppeteer/console_patch.rb

Instance Method Summary collapse

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, **options)
  event = event.dup
  event[:message] = event[:message].to_s
  format_without_nil_guard(event, stream, prefix: prefix, verbose: verbose, **options)
end

#format_without_nil_guardObject



36
# File 'lib/puppeteer/console_patch.rb', line 36

alias format_without_nil_guard format