Class: WarningSigns::Behavior::Stdout

Inherits:
Base
  • Object
show all
Defined in:
lib/warning_signs/behavior/stdout.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/stdout.rb', line 5

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