Class: WarningSigns::Behavior::Stderr

Inherits:
Base
  • Object
show all
Defined in:
lib/warning_signs/behavior/stderr.rb

Instance Attribute Summary

Attributes inherited from Base

#backtrace, #message, #message_formatter

Instance Method Summary collapse

Methods inherited from Base

for, #formatted_message, #initialize

Constructor Details

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

Instance Method Details

#emitObject



5
6
7
# File 'lib/warning_signs/behavior/stderr.rb', line 5

def emit
  formatted_message.each { $stderr.puts(_1) }
end