diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-01-08 09:17:10 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-01-08 09:17:10 +0100 |
commit | d59521f3bec769dfe35f1d822617998468f78d7d (patch) | |
tree | ad0bd822bb883c1d48556cb3c9b8059f676b2a8b /example/sample.ru | |
parent | 8b5ac512744905424c191ea56124a0e7b9f1f787 (diff) | |
download | zorglub-d59521f3bec769dfe35f1d822617998468f78d7d.zip zorglub-d59521f3bec769dfe35f1d822617998468f78d7d.tar.gz |
inherited_vars in cli_vals, fix and comment
Diffstat (limited to 'example/sample.ru')
-rw-r--r-- | example/sample.ru | 4 |
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 # |