Sha256: 6535211b4bee6437b5a489d157ed0feaf555380141974babf7665dcdb4601a8c

Contents?: true

Size: 255 Bytes

Versions: 15

Compression:

Stored size: 255 Bytes

Contents

require 'daemons/pid'

module Daemons
  class PidMem < Pid
    attr_accessor :pid

    def self.existing(numeric_pid)
      new_instance = PidMem.allocate

      new_instance.instance_variable_set(:@pid, numeric_pid)

      new_instance
    end
  end
end

Version data entries

15 entries across 13 versions & 4 rubygems

Version Path
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/3.0.0/gems/daemons-1.4.1/lib/daemons/pidmem.rb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/3.1.0/gems/daemons-1.4.1/lib/daemons/pidmem.rb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/2.6.0/gems/daemons-1.4.1/lib/daemons/pidmem.rb
daemons-1.4.1 lib/daemons/pidmem.rb
daemons-1.4.0 lib/daemons/pidmem.rb
daemons-1.3.1 lib/daemons/pidmem.rb
daemons-1.3.0 lib/daemons/pidmem.rb
daemons-1.2.6 lib/daemons/pidmem.rb
daemons-1.2.5 lib/daemons/pidmem.rb
arcabouco-0.2.13 vendor/bundle/gems/daemons-1.2.4/lib/daemons/pidmem.rb
daemons-1.2.4 lib/daemons/pidmem.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/daemons-1.2.3/lib/daemons/pidmem.rb
daemons-1.2.3 lib/daemons/pidmem.rb
daemons-1.2.2 lib/daemons/pidmem.rb
daemons-1.2.1 lib/daemons/pidmem.rb