Sha256: 0816e8cf7a1f5e56a3b7eda66ac1851acb4fa4e99184ed36296476355acf69b2
Contents?: true
Size: 1.06 KB
Versions: 10
Compression:
Stored size: 1.06 KB
Contents
# test_file: ../../../../test/helpers/zena_parser_test.rb default: context: node: 'status' src: "<r:tags do='each' join=',' do='[name]'/>" tem: "/list1 = @node.tags.*var1.name/" res: "blue,sky" listing_no_tags: context: node: 'lion' src: "<r:tags>Nothing</r:tags>" tem: "/list1 = @node.tags/" res: "" listing_with_link: src: "<r:tags do='each' join=',' do='link' cat='[name]'/>" res: "<a href='/oo/projects/cleanWater/page22.html?cat=blue'>blue</a>,<a href='/oo/projects/cleanWater/page22.html?cat=sky'>sky</a>" tagged_query: context: cat: 'blue' src: "<r:context select='nodes where tag = param:cat in site' do='each' join=', ' do='[name]'/>" res: "bird, status" images_tagged_blue: src: "<r:images where='tag=\"blue\"' in='site' do='each' join=', ' do='[name]'/>" res: "bird" tagged_keys_rubyless: context: node: 'status' src: "<r:tagged do='keys'><r:each join=', ' do='show'/></r:tagged>" res: "sky, blue" tag_names: context: node: 'status' src: "<r:tag_names><r:each join=', ' do='show'/></r:tagged>" res: "sky, blue"
Version data entries
10 entries across 10 versions & 1 rubygems