summaryrefslogtreecommitdiffstats
path: root/example/sample.ru
diff options
context:
space:
mode:
Diffstat (limited to 'example/sample.ru')
-rw-r--r--example/sample.ru4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/sample.ru b/example/sample.ru
index 9dc4d13..c7fd639 100644
--- a/example/sample.ru
+++ b/example/sample.ru
@@ -76,7 +76,7 @@ class Node2 < Zorglub::Node
# class level engine
engine! 'tmp-engine'
# class level css
- inherited_var :css, 'class_level.css'
+ cli_val :css, 'class_level.css'
#
def index *args
"<title>Node2:index</title><b>START</b>#{html}<a href=#{Node2.r(:meth0)}>next</a><br/><b>END</b>"
@@ -84,7 +84,7 @@ class Node2 < Zorglub::Node
#
def meth0 *args
# instance level css
- inherited_var :css, 'instance_level.css'
+ cli_val :css, 'instance_level.css'
"<title>Node2:meth0</title><b>START</b>#{html}<a href=#{Node2.r(:meth1,1,2)}>next</a><br/><b>END</b>"
end
#