Method: YNAB::DateFormat#==
- Defined in:
- lib/ynab/models/date_format.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
79 80 81 82 83 |
# File 'lib/ynab/models/date_format.rb', line 79 def ==(o) return true if self.equal?(o) self.class == o.class && format == o.format end |