module Autorespawn::Hooks
Override of the global Hooks
behaviour w.r.t. blocks. Blocks are evaluated in their definition context in Autorespawn
instead of the default evaluation in the context of the receiver
Public Class Methods
included(base)
click to toggle source
# File lib/autorespawn/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