lib/expressive.rb in expressive-0.0.29 vs lib/expressive.rb in expressive-0.0.30

- 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 datetime get put lookup $lookup $head $tail $reverse round $round $days_ago $hours_ago $minutes_ago $append $id $hash $concat $split $sms $hval) + %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 $concat $split $sms $hval $index) end module Boolean def eval(scope = nil) 'true' == text_value