# File lib/sshkit/formatters/pretty.rb, line 7 def write(obj) return if obj.verbosity < SSHKit.config.output_verbosity case obj when SSHKit::Command then write_command(obj) when SSHKit::LogMessage then write_log_message(obj) else original_output << c.black(c.on_yellow("Output formatter doesn't know how to handle #{obj.class}\n")) end end
Generated with the Darkfish Rdoc Generator 2.