Class: WarningSigns::MessageFormatter::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/warning_signs/message_formatter/text.rb

Instance Attribute Summary

Attributes inherited from Base

#backtrace_lines, #behaviors, #environments, #filter_backtraces

Instance Method Summary collapse

Methods inherited from Base

#filtered_backtrace, #filtered_backtrace_lines, for, #initialize

Methods included from CallerHelper

#caller_filtered, #ignore_line

Constructor Details

This class inherits a constructor from WarningSigns::MessageFormatter::Base

Instance Method Details

#format_message(message, backtrace) ⇒ Object



4
5
6
# File 'lib/warning_signs/message_formatter/text.rb', line 4

def format_message(message, backtrace)
  [message] + filtered_backtrace_lines(backtrace)
end