Method: Gat::Action::ShellCommand#initialize

Defined in:
lib/gat/action/shell_command.rb

#initialize(name, config, operation) ⇒ ShellCommand

Returns a new instance of ShellCommand.



13
14
15
16
17
# File 'lib/gat/action/shell_command.rb', line 13

def initialize(name, config, operation)
	super(name, config, operation)

 @syntax = config['syntax'] || raise(GatgetConfigException.new("Shell Command Action #{ name } has not a syntax attribute", "initialize_shell_command"))
end