Method: Eye::Process::System#save_pid_to_file
- Defined in:
- lib/eye/process/system.rb
#save_pid_to_file ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/eye/process/system.rb', line 9 def save_pid_to_file if self.pid File.open(self[:pid_file_ex], 'w') do |f| f.write self.pid end true else false end end |