Sha256: a303c3e333201f3bfbaf3e2ca8c8d13b56f49265e00d3d7232c7b44d802e004c

Contents?: true

Size: 298 Bytes

Versions: 39

Compression:

Stored size: 298 Bytes

Contents

class FakeProcessRunner

  attr_accessor :command

  def initialize
    @r = FakeIO.new
    @w = FakeIO.new
    @e = FakeIO.new
  end

  def execute_open4 *command
    @command = command
  end

  def read
    @r
  end

  def read_err
    @e
  end

  def write value
    @w.write value
  end

end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
sprout-1.0.23.pre test/unit/fake_process_runner.rb
sprout-1.0.22.pre test/unit/fake_process_runner.rb
sprout-1.0.20.pre test/unit/fake_process_runner.rb
sprout-1.0.19.pre test/unit/fake_process_runner.rb
sprout-1.0.18.pre test/unit/fake_process_runner.rb
sprout-1.0.17.pre test/unit/fake_process_runner.rb
sprout-1.0.16.pre test/unit/fake_process_runner.rb
sprout-1.0.15.pre test/unit/fake_process_runner.rb
sprout-1.0.14.pre test/unit/fake_process_runner.rb
sprout-1.0.13.pre test/unit/fake_process_runner.rb
sprout-1.0.11.pre test/unit/fake_process_runner.rb
sprout-1.0.9.pre test/unit/fake_process_runner.rb
sprout-1.0.8.pre test/unit/fake_process_runner.rb
sprout-1.0.5.pre test/unit/fake_process_runner.rb
sprout-1.0.4.pre test/unit/fake_process_runner.rb
sprout-1.0.3.pre test/unit/fake_process_runner.rb
sprout-1.0.2.pre test/unit/fake_process_runner.rb
sprout-1.0.1.pre test/unit/fake_process_runner.rb
sprout-1.0.0.pre test/unit/fake_process_runner.rb