Sha256: 2c093350d30be779c73b137258d6e3be79e6b894bb2ce7315ee7078cd3950e1b

Contents?: true

Size: 683 Bytes

Versions: 6

Compression:

Stored size: 683 Bytes

Contents

default:
  context:
    lang: 'en'
    visitor: 'ant'
    node: 'status'

show_var_overwrites_attribute:
  src: "<r:set title='12345'><b do='title'/></r:set>"
  res: "<b>12345</b>"

test_set_in_scope:
  src: "<r:set hours='3'><r:if test='hours &gt; 0'>you have: <r:show eval='hours' format='%.2f'/></r:if></r:set>"
  res: "you have: 3.00"

test_set_for_siblings:
  src: "<r:set hours='3'/><r:if test='hours &gt; 0'>you have: <r:show eval='hours' format='%.2f'/></r:if>"
  res: "you have: 3.00"

test_set_for_siblings_overwrite:
  src: "<r:set hours='3'/><r:set hours='%{hello}'/><r:if test='!hours.blank?'>you have: <r:eval>hours.gsub(/o/,'')</r:eval></r:if>"
  res: "you have: hell"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zena-1.2.1 test/integration/zafu_compiler/eval.yml
zena-1.2.0 test/integration/zafu_compiler/eval.yml
zena-1.1.3 test/integration/zafu_compiler/eval.yml
zena-1.1.2 test/integration/zafu_compiler/eval.yml
zena-1.1.1 test/integration/zafu_compiler/eval.yml
zena-1.1.0 test/integration/zafu_compiler/eval.yml