class Tracco::Estimate

Public Instance Methods

==(other) click to toggle source
# File lib/tracco/models/estimate.rb, line 17
def ==(other)
  return true if other.equal?(self)
  return false unless other.kind_of?(self.class)

  amount == other.amount && date == other.date
end
to_s() click to toggle source
# File lib/tracco/models/estimate.rb, line 24
def to_s
  "[#{date}] estimated #{amount} hours"
end