Class: Shellter::Runners::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/shellter/runners/base.rb

Direct Known Subclasses

Background, Windows

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/shellter/runners/base.rb', line 6

def initialize(options = {})
  
end

Instance Method Details

#run(command, &block) ⇒ Object



10
11
12
# File 'lib/shellter/runners/base.rb', line 10

def run(command, &block)
  POpen4.popen4(command, &block)
end