lib/trac-wiki/env.rb in trac-wiki-0.3.22 vs lib/trac-wiki/env.rb in trac-wiki-0.3.23
- old
+ new
@@ -8,9 +8,14 @@
@env = env || {}
@argv = {}
@argv_stack = []
end
+ def nocache!
+ atput('nocache', true)
+ self
+ end
+
# r: expanded-macro, rest-of-str, lines, offset-in-line
def parse_macro_all(macro_name, str, macro_name_size = nil)
str_size = str.size
args, rest, lines, offset = parse_balanced(str)
atput('maclen', str_size - rest.size + macro_name_size) if ! macro_name_size.nil?