Method: Procodile::Process#to_hash
- Defined in:
- lib/procodile/process.rb
#to_hash ⇒ Object
Return a hash
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 |
# File 'lib/procodile/process.rb', line 165 def to_hash { :name => self.name, :log_color => self.log_color, :quantity => self.quantity, :max_respawns => self.max_respawns, :respawn_window => self.respawn_window, :command => self.command, :restart_mode => self.restart_mode, :log_path => self.log_path, :removed => self.removed ? true : false, :proxy_port => proxy_port, :proxy_address => proxy_address } end |