Method: ActionCommand::InputOutput#keys

Defined in:
lib/action_command/input_output.rb

#keysObject

Returns an array with the set of parameter symbols this command accepts.

Returns:

  • an array with the set of parameter symbols this command accepts.



143
144
145
# File 'lib/action_command/input_output.rb', line 143

def keys 
  @input.collect { |p| p[:symbol] }
end