Class: Eye::Trigger::CheckDependency
- Inherits:
-
Eye::Trigger
- Object
- Eye::Trigger
- Eye::Trigger::CheckDependency
- Defined in:
- lib/eye/trigger/check_dependency.rb
Constant Summary
Constants inherited from Eye::Trigger
Instance Attribute Summary
Attributes inherited from Eye::Trigger
Instance Method Summary collapse
Methods inherited from Eye::Trigger
create, #defer, #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
Constructor Details
This class inherits a constructor from Eye::Trigger
Instance Method Details
#check(transition) ⇒ Object
4 5 6 |
# File 'lib/eye/trigger/check_dependency.rb', line 4 def check(transition) check_dependency(transition.to_name) if transition.from_name == :up end |