Class: Eye::Trigger::StopChildren
- Inherits:
-
Eye::Trigger
- Object
- Eye::Trigger
- Eye::Trigger::StopChildren
- Defined in:
- lib/eye/trigger/stop_children.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, #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
Constructor Details
This class inherits a constructor from Eye::Trigger
Instance Method Details
#check(_trans) ⇒ Object
12 13 14 15 |
# File 'lib/eye/trigger/stop_children.rb', line 12 def check(_trans) debug { 'stopping children' } process.children.values.pmap(&:stop) end |