summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-16 23:57:48 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-16 23:57:48 +0100
commit0f1cc7ddb90c689ed4a7abc7f05cf06d3202079a (patch)
tree1ef28320aecb1bfc09e2cb777680d0b714b3c64c /lib
parentc54ccd3d6eb19d37b91d010b124f6f98c617ec0b (diff)
downloadzorglub-0f1cc7ddb90c689ed4a7abc7f05cf06d3202079a.zip
zorglub-0f1cc7ddb90c689ed4a7abc7f05cf06d3202079a.tar.gz
Node cleanuP
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