# File lib/pidfile.rb, line 99 def self.pid(path=nil) if pidfile_exists?(path) open(path, 'r').read.to_i end end