Class: Nobbie::Wx::Command::Executor
- Inherits:
-
Object
- Object
- Nobbie::Wx::Command::Executor
- Defined in:
- lib/nobbie/wx/command_executor.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#execute(command) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/nobbie/wx/command_executor.rb', line 6 def execute(command) puts "\n> #{command.describe}" result = command.execute puts "< #{render(result)}" result end |