lib/openwfe/util/dollar.rb in openwferu-0.9.6 vs lib/openwfe/util/dollar.rb in openwferu-0.9.7
- old
+ new
@@ -186,9 +186,14 @@
"functions are not yet implemented"
end
def call_ruby (ruby_code)
+ if @flow_expression
+ return "" \
+ if @flow_expression.ac[:ruby_eval_allowed] != true
+ end
+
#binding = nil
#binding = @flow_expression.get_binding if @flow_expression
#eval(ruby_code, binding).to_s
wi = @workitem