Sha256: dcd9f704840a5f756dd1a8203fd47f5cbff49883568551208a1fab19f1034cef

Contents?: true

Size: 260 Bytes

Versions: 26

Compression:

Stored size: 260 Bytes

Contents

class PIDFileSpy

  attr_reader :pid, :write_called, :remove_called

  def initialize(pid)
    @pid = pid
    @write_called = false
    @remove_called = false
  end

  def write
    @write_called = true
  end

  def remove
    @remove_called = true
  end

end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
sanford-0.19.1 test/support/pid_file_spy.rb
qs-0.8.1 test/support/pid_file_spy.rb
qs-0.8.0 test/support/pid_file_spy.rb
sanford-0.19.0 test/support/pid_file_spy.rb
qs-0.7.1 test/support/pid_file_spy.rb
sanford-0.18.2 test/support/pid_file_spy.rb
qs-0.7.0 test/support/pid_file_spy.rb
sanford-0.18.1 test/support/pid_file_spy.rb
sanford-0.18.0 test/support/pid_file_spy.rb
sanford-0.17.0 test/support/pid_file_spy.rb
qs-0.6.1 test/support/pid_file_spy.rb
sanford-0.16.1 test/support/pid_file_spy.rb
sanford-0.16.0 test/support/pid_file_spy.rb
qs-0.6.0 test/support/pid_file_spy.rb
sanford-0.15.1 test/support/pid_file_spy.rb
sanford-0.15.0 test/support/pid_file_spy.rb
qs-0.5.0 test/support/pid_file_spy.rb
qs-0.4.0 test/support/pid_file_spy.rb
sanford-0.14.0 test/support/pid_file_spy.rb
qs-0.3.0 test/support/pid_file_spy.rb