Module: Bluepill::ProcessConditions

Defined in:
lib/bluepill/process_conditions.rb,
lib/bluepill/process_conditions/http.rb,
lib/bluepill/process_conditions/cpu_usage.rb,
lib/bluepill/process_conditions/file_time.rb,
lib/bluepill/process_conditions/mem_usage.rb,
lib/bluepill/process_conditions/always_true.rb,
lib/bluepill/process_conditions/running_time.rb,
lib/bluepill/process_conditions/zombie_process.rb,
lib/bluepill/process_conditions/process_condition.rb

Defined Under Namespace

Classes: AlwaysTrue, CpuUsage, FileTime, Http, MemUsage, ProcessCondition, RunningTime, ZombieProcess

Class Method Summary collapse

Class Method Details

.[](name) ⇒ Object



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

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