class TTFunk::Aggregate

Private Instance Methods

coerce(other) click to toggle source
# File lib/ttfunk/aggregate.rb, line 7
def coerce(other)
  if other.respond_to?(:value_or)
    other.value_or(0)
  else
    other
  end
end