Sha256: 345e359ef389c909c2e788baaff8d2cc0e1fb9f57263495d448706501718682e

Contents?: true

Size: 137 Bytes

Versions: 5

Compression:

Stored size: 137 Bytes

Contents

if File.directory?("/proc")
  class Daemons::Pid

    def self.running?(pid)
      return File.exist?("/proc/#{pid}")
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redis_ring-0.1.3 lib/monkey_patches.rb
redis_ring-0.1.2 lib/monkey_patches.rb
redis_ring-0.1.1 lib/monkey_patches.rb
redis_ring-0.1.0 lib/monkey_patches.rb
redis_ring-0.0.2 lib/monkey_patches.rb