Module: Roby::Hooks
- Includes:
- Hooks
- Included in:
- App::TestServer, Coordination::ActionStateMachine, DRoby::Logfile::Client, Interface::V1::Async::ActionMonitor, Interface::V1::Async::Interface, Interface::V1::Async::JobMonitor, Interface::V1::Async::Log, Interface::V2::Async::ActionMonitor, Interface::V2::Async::Interface, Interface::V2::Async::JobMonitor, Interface::V2::Async::Log
- Defined in:
- lib/roby/hooks.rb
Overview
Override of the global Hooks behaviour w.r.t. blocks. Blocks are evaluated in their definition context in Roby instead of the default evaluation in the context of the receiver
Defined Under Namespace
Modules: ClassMethods, InstanceHooks
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/roby/hooks.rb', line 10 def self.included(base) base.class_eval do extend Uber::InheritableAttr extend ClassMethods inheritable_attr :_hooks self._hooks = HookSet.new end end |