summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/zorglub/node.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb
index cf708ce..14a6a56 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -170,7 +170,7 @@ module Zorglub
d
end
#
- # TODO check and rewrite maybe
+ # TODO use inherited_vars ??
#
@hooks = {
:before_all => [],
@@ -180,7 +180,6 @@ module Zorglub
#
attr_reader :hooks
#
- #
def call_before_hooks obj
Node.hooks[:before_all].each do |blk| blk.call obj end
end
@@ -201,6 +200,8 @@ module Zorglub
#
end
#
+ # rack entry point, page computation methods
+ #
class << self
#
def inherited sub