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/mem_usage.rb,
lib/bluepill/process_conditions/always_true.rb,
lib/bluepill/process_conditions/process_condition.rb

Defined Under Namespace

Classes: AlwaysTrue, CpuUsage, Http, MemUsage, ProcessCondition

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