From 5e5b38ab8ff4c4fbe4ebe2c17475c0598a764629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 5 Sep 2013 10:42:40 +0200 Subject: implement Node#no_view! --- lib/zorglub/node.rb | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.1-2-g2b99