Method: ActionCommand::InputOutput#initialize

Defined in:
lib/action_command/input_output.rb

#initialize(action, desc) ⇒ InputOutput

Do not use this. Instead, implment self.describe_io in your command subclass, and call the method ActionCommand#self.describe_io from within it, returning its result.



14
15
16
17
18
19
20
21
22
# File 'lib/action_command/input_output.rb', line 14

def initialize(action, desc)
  @action = action
  @desc = desc
  @input = []
  @output = []

  # universal parameters.
  # input(:help, 'Help on this command', OPTIONAL)
end