class Sum

e.g. spent, total

Public Class Methods

find(options) click to toggle source
Calls superclass method Natural::Fragment::find
# File lib/natural/fragments/misc.rb, line 24
def self.find(options)
  super options.merge(:looking_for => {:or => ['spend', 'spent', 'total', {:and => ['how much did', Pronoun , 'spend']}, {:and => ['how much have', Pronoun, 'spent']}]})
end

Public Instance Methods

aggregator() click to toggle source
# File lib/natural/fragments/misc.rb, line 27
def aggregator
  'sum'
end