lib/expressive.rb in expressive-0.0.25 vs lib/expressive.rb in expressive-0.0.26

- old
+ new

@@ -18,10 +18,10 @@ @parser ||= ::ExpressiveParser.new @parser.parse(expressions) end def self.all_symbols - %w(+ - * / = set sum $sub post >= > < <= and or if date get put lookup $lookup $head $tail $reverse round $round $days_ago $hours_ago $minutes_ago $append $id) + %w(+ - * / = set sum $sub post >= > < <= and or if date datetime get put lookup $lookup $head $tail $reverse round $round $days_ago $hours_ago $minutes_ago $append $id $hash) end module Boolean def eval(scope = nil) 'true' == text_value