From 0f1cc7ddb90c689ed4a7abc7f05cf06d3202079a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 16 Jan 2012 23:57:48 +0100 Subject: Node cleanuP --- lib/zorglub/node.rb | 5 +++-- 1 file 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 -- cgit v1.1-2-g2b99