# File lib/daemon_kit/pid_file.rb, line 35 def pid return nil unless self.exists? File.open( @path ) { |f| return f.gets.to_i } end