Class: Dip::Command

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/dip/command.rb

Defined Under Namespace

Classes: ProgramRunner, SubprocessRunner

Class Method Summary collapse

Class Method Details

.exec_program(*args, **kwargs) ⇒ Object


34
35
36
# File 'lib/dip/command.rb', line 34

def exec_program(*args, **kwargs)
  run(ProgramRunner, *args, **kwargs)
end

.exec_subprocess(*args, **kwargs) ⇒ Object


38
39
40
# File 'lib/dip/command.rb', line 38

def exec_subprocess(*args, **kwargs)
  run(SubprocessRunner, *args, **kwargs)
end