Module: Bluepill::ProcessConditions

Defined in:
lib/bluepill/process_conditions.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, 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)
  "#{self}::#{name.to_s.camelcase}".constantize
end