summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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