lib/ruote/exp/condition.rb in ruote-2.1.4 vs lib/ruote/exp/condition.rb in ruote-2.1.5

- old
+ new

@@ -71,14 +71,9 @@ def self.unescape (s) s ? s.to_s.gsub('&amp;', '&').gsub('&gt;', '>').gsub('&lt;', '<') : nil end - #def self.ruby_eval (s) - # treechecker.check_conditional(s) - # eval(s) - #end - def self.to_b (o) o = o.strip if o.is_a?(String) not(o == nil || o == false || o == 'false' || o == '')