Module: Roby::Hooks
- Includes:
- Hooks
- Included in:
- App::TestServer, Coordination::ActionStateMachine, DRoby::Logfile::Client, Interface::Async::ActionMonitor, Interface::Async::Interface, Interface::Async::JobMonitor, Interface::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
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/roby/hooks.rb', line 8 def self.included(base) base.class_eval do extend Uber::InheritableAttr extend ClassMethods inheritable_attr :_hooks self._hooks= HookSet.new end end |