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.1.18.pre test/unit/fake_process_runner.rb
sprout-1.1.17.pre test/unit/fake_process_runner.rb
sprout-1.1.16.pre test/unit/fake_process_runner.rb
sprout-1.1.15.pre test/unit/fake_process_runner.rb
sprout-1.1.14.pre test/unit/fake_process_runner.rb
sprout-1.1.13.pre test/unit/fake_process_runner.rb
sprout-1.1.11.pre test/unit/fake_process_runner.rb
sprout-1.1.10.pre test/unit/fake_process_runner.rb
sprout-1.1.7.pre test/unit/fake_process_runner.rb
sprout-1.1.5.pre test/unit/fake_process_runner.rb
sprout-1.1.4.pre test/unit/fake_process_runner.rb
sprout-1.1.3.pre test/unit/fake_process_runner.rb
sprout-1.1.2.pre test/unit/fake_process_runner.rb
sprout-1.0.35.pre test/unit/fake_process_runner.rb
sprout-1.0.32.pre test/unit/fake_process_runner.rb
sprout-1.0.31.pre test/unit/fake_process_runner.rb
sprout-1.0.29.pre test/unit/fake_process_runner.rb
sprout-1.0.26.pre test/unit/fake_process_runner.rb
sprout-1.0.25.pre test/unit/fake_process_runner.rb
sprout-1.0.24.pre test/unit/fake_process_runner.rb