This opens up the DSL created by Hook.
60 61 62 63
# File 'lib/chatx/hooks.rb', line 60 def gen_hooks(&block) @hook ||= Hook.new(self) @hook.instance_eval(&block) end