Module: Procmon::ProcessConditions

Defined in:
lib/procmon/process_conditions.rb,
lib/procmon/process_conditions/cpu_usage.rb,
lib/procmon/process_conditions/mem_usage.rb,
lib/procmon/process_conditions/process_health.rb,
lib/procmon/process_conditions/process_condition.rb

Defined Under Namespace

Classes: CpuUsage, MemUsage, ProcessCondition, ProcessHealth

Class Method Summary collapse

Class Method Details

.[](name) ⇒ Object



3
4
5
# File 'lib/procmon/process_conditions.rb', line 3

def self.[](name)
  const_get(name.to_s.camelcase)
end