Method: Boom::Command.execute
- Defined in:
- lib/kaboom/command.rb
.execute(*args) ⇒ Object
Public: executes a command.
args - The actual commands to operate on. Can be as few as zero
arguments or as many as three.
28 29 30 31 32 33 34 35 36 |
# File 'lib/kaboom/command.rb', line 28 def execute(*args) command = check_if_remote args major = args.shift minor = args.empty? ? nil : args.join(' ') return overview unless command delegate(command, major, minor) end |