default:
context:
lang: 'en'
visitor: 'ant'
node: 'status'
src: "simple text"
tem: "simple text"
res: "simple text"
show_mean_gsub:
src: ""
tem: "text.gsub(/#{puts \"I AM MEAN\"}/, \"\") 'dregx' not available in RubyLess."
erb:
src: "<% puts 'mean' %>"
tem: "<% puts 'mean' %>"
forbidden_methods:
src: "eval '\'bad\''"
tem: "/unknown method 'eval\(String\)'/"
syntax_error:
src: ""
tem: "!/<% puts \"mean\" %>/"
res: "/<% puts \"mean\"/"
mean_eval:
src: ""
tem: "/unknown method 'puts\(String\)'/"
mean_in_translation:
context:
lang: fr
src: "mean"
tem: "<% _zdict = load_dictionary(828931430) %><%= 5 + 8 %>"
build_erb_with_trans:
context:
lang: fr
src: "mean_m%= 5+8 %>"
tem: "<% _zdict = load_dictionary(828931430) %><%= 5+8 %>"
build_erb_with_void:
context:
lang: fr
src: "<%= 5+8 %>"
tem: "/>%= 5\+8 %>/"
mean_inc:
src: '<'
res: '<'
build_erb_with_include:
src: "%= 5+8 %>"
tem: "!/<%= 5/"
mean_part:
src: "<
"
res: "<"
build_erb_with_include_remove_part:
src: "%= 5+8 %>"
tem: "!/<%= 5/"
build_erb_with_rubyless:
src: "%= 5+8 %>"
tem: "!/<%= 5/"