Methods

SSHKit::Formatter::Dot

Public Instance Methods

<<(obj) click to toggle source
Alias for: write
write(obj) click to toggle source
# File lib/sshkit/formatters/dot.rb, line 7
def write(obj)
  return unless obj.is_a? SSHKit::Command
  if obj.finished?
    original_output << (obj.failure? ? c.red('.') : c.green('.'))
  end
end
Also aliased as: <<

[Validate]

Generated with the Darkfish Rdoc Generator 2.