Class: Eye::Trigger::WaitDependency

Inherits:
Eye::Trigger show all
Defined in:
lib/eye/trigger/wait_dependency.rb

Constant Summary

Constants inherited from Eye::Trigger

TYPES

Instance Attribute Summary

Attributes inherited from Eye::Trigger

#message, #options, #process

Instance Method Summary collapse

Methods inherited from Eye::Trigger

create, #defer, #exec_proc, #filter_transition, get_class, #initialize, #inspect, #logger_sub_tag, #logger_tag, name_and_class, #notify, register, requires, #run_in_process_context, validate!

Methods included from Dsl::Validation

included

Constructor Details

This class inherits a constructor from Eye::Trigger

Instance Method Details

#check(transition) ⇒ Object



8
9
10
# File 'lib/eye/trigger/wait_dependency.rb', line 8

def check(transition)
  wait_dependency if transition.to_name == :starting
end