summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-09-05 10:42:40 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-09-05 10:42:40 +0200
commit5e5b38ab8ff4c4fbe4ebe2c17475c0598a764629 (patch)
treeee1643fb2bde9421bcad03dc8f66f64c0cf780b6 /lib
parent9df17f5a8bcf80a2e2c0f00126347becbcc2f15e (diff)
downloadzorglub-5e5b38ab8ff4c4fbe4ebe2c17475c0598a764629.zip
zorglub-5e5b38ab8ff4c4fbe4ebe2c17475c0598a764629.tar.gz
implement Node#no_view!
Diffstat (limited to 'lib')
-rw-r--r--lib/zorglub/node.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb
index ebccedf..ed1a573 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -77,6 +77,10 @@ module Zorglub
File.join(self.class.layout_base_path, @layout)+ext
end
#
+ def no_view!
+ view! nil
+ end
+ #
def view! view
@view = view
end