Module: HammerCLI::Logger::Watch
- Defined in:
- lib/hammer_cli/logger_watch.rb
Instance Method Summary collapse
Instance Method Details
#watch(label, obj, options = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/hammer_cli/logger_watch.rb', line 6 def watch(label, obj, ={}) if debug? = { :plain => HammerCLI::Settings.get(:watch_plain), :indent => -2 }.merge() debug label + "\n" + obj.ai() end end |