examples/engine_template.rb in openwferu-0.9.16 vs examples/engine_template.rb in openwferu-0.9.17
- old
+ new
@@ -45,9 +45,16 @@
# <participant name="${ruby:LDAP::lookup(customer_id)" />
# or
# <if rtest="var % 2 == 0"> ...
#
+#application_context[:dynamic_eval_allowed] = true
+ #
+ # by default, :dynamic_eval_allowed is not set to true, it means
+ # that the "eval" expression cannot be used.
+ #
+ # don't set that unless you're sure you'll need this 'eval' expression.
+
#engine = OpenWFE::Engine.new
#engine = OpenWFE::Engine.new(application_context)
#
# an in-memory, totally transient engine