Module: Cognizant::Process::Triggers

Defined in:
lib/cognizant/process/triggers.rb,
lib/cognizant/process/triggers/trigger.rb,
lib/cognizant/process/triggers/flapping.rb,
lib/cognizant/process/triggers/transition.rb

Defined Under Namespace

Classes: Flapping, Transition, Trigger

Class Method Summary collapse

Class Method Details

.[](name) ⇒ Object


10
11
12
13
14
15
16
# File 'lib/cognizant/process/triggers.rb', line 10

def self.[](name)
  begin
    const_get(name.to_s.camelcase)
  rescue NameError
    nil
  end
end