Class: Gel::Command::Ruby
Instance Attribute Summary
Attributes inherited from Gel::Command
#reraise
Instance Method Summary
collapse
extract_word, handle_error, run
Instance Method Details
#run(command_line) ⇒ Object
4
5
6
7
8
9
|
# File 'lib/gel/command/ruby.rb', line 4
def run(command_line)
command = Gel::Command::Exec.new
command.run(["ruby", *command_line])
ensure
self.reraise = command.reraise if command
end
|