Method: Rodish::DSL#run
- Defined in:
- lib/rodish/dsl.rb
#run(&block) ⇒ Object
Set the block to run for subcommand execution. Commands should have subcommands and/or a run block, otherwise it is not possible to use the command successfully.
82 83 84 |
# File 'lib/rodish/dsl.rb', line 82 def run(&block) @command.run_block = block end |