Class: Nobbie::Wx::Command::ConsoleReporter

Inherits:
Reporter
  • Object
show all
Defined in:
lib/nobbie/wx/command/console_reporter.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#after_executing_command(result) ⇒ Object



14
15
16
# File 'lib/nobbie/wx/command/console_reporter.rb', line 14

def after_executing_command(result)
  STDOUT.puts "< #{render(result)}"
end

#before_executing_command(command) ⇒ Object



10
11
12
# File 'lib/nobbie/wx/command/console_reporter.rb', line 10

def before_executing_command(command)
  STDOUT.puts "\n> #{command.describe}"
end