Class: SSHKit::Formatter::Dot
- Defined in:
- lib/sshkit/formatters/dot.rb
Instance Attribute Summary
Attributes inherited from Abstract
Instance Method Summary collapse
Methods inherited from Abstract
#<<, #initialize, #log_command_data, #log_command_start
Constructor Details
This class inherits a constructor from SSHKit::Formatter::Abstract
Instance Method Details
#log_command_exit(command) ⇒ Object
7 8 9 |
# File 'lib/sshkit/formatters/dot.rb', line 7 def log_command_exit(command) original_output << colorize('.', command.failure? ? :red : :green) end |
#write(_obj) ⇒ Object
11 12 |
# File 'lib/sshkit/formatters/dot.rb', line 11 def write(_obj) end |