Method: ObjectiveCommand::Commands::Command#initialize
- Defined in:
- lib/objective_command/commands/command.rb
#initialize(command_name, *args) ⇒ Command
Construction methods.
24 25 26 27 28 29 30 |
# File 'lib/objective_command/commands/command.rb', line 24 def initialize ( command_name, *args ) @command = command_name @args = args.flatten @open_mode = :w @dir = nil @input, @output, @error = nil, nil, nil end |