Method: Async::Runner::Command#call
- Defined in:
- lib/async/runner/command.rb
#call ⇒ Object
Prepare the environment and invoke the sub-command.
66 67 68 69 70 71 72 73 74 |
# File 'lib/async/runner/command.rb', line 66 def call if [:version] puts "#{self.name} v#{Async::Runner::VERSION}" elsif [:help] self.print_usage else run end end |