Method: Spring::Env#pid
- Defined in:
- lib/spring/env.rb
#pid ⇒ Object
57 58 59 60 61 62 |
# File 'lib/spring/env.rb', line 57 def pid pidfile_path.exist? ? pidfile_path.read.to_i : nil rescue Errno::ENOENT # This can happen if the pidfile is removed after we check it # exists end |