lib/expressive.rb in expressive-0.0.15 vs lib/expressive.rb in expressive-0.0.16
- old
+ new
@@ -18,10 +18,10 @@
@parser ||= ::ExpressiveParser.new
@parser.parse(expressions)
end
def self.all_symbols
- %w(+ - * / = set sum post >= > < <= and or if date get put lookup round)
+ %w(+ - * / = set sum post >= > < <= and or if date get put lookup round $days_ago $hours_ago $minutes_ago)
end
module Boolean
def eval(scope = nil)
'true' == text_value