Module: Process
- Defined in:
- lib/procinfo.rb
Class Method Summary collapse
Class Method Details
.stats(type = :self) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/procinfo.rb', line 4 def self.stats(type = :self) case type when :self stats_for_self when :children stats_for_children else raise ArgumentError.new("Unknown type: #{type}") end end |