Methods

Class/Module Index [+]

Quicksearch

HammerCLI::Logger::Watch

Public Instance Methods

watch(label, obj, options={}) click to toggle source
# File lib/hammer_cli/logger_watch.rb, line 6
def watch(label, obj, options={})
  if debug?
    options = { :plain => HammerCLI::Settings.get(:watch_plain), :indent => -2 }.merge(options)
    debug label + "\n" + obj.ai(options)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.