Class: Cfruby::Processes::ProcessList
- Inherits:
-
Hash
- Object
- Hash
- Cfruby::Processes::ProcessList
- Defined in:
- lib/libcfruby/processes.rb
Overview
A holding object for a list of processes and information about them. Each process is referenced by its unique process id in Hash fashion (plist)
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
30 31 32 33 34 35 36 37 38 |
# File 'lib/libcfruby/processes.rb', line 30 def to_hash() hash = Hash.new() self.each_key() { |key| hash[key] = self[key].to_hash } return(hash) end |