Method: Redmineup::Currency#==
- Defined in:
- lib/redmineup/currency.rb
#==(other_currency) ⇒ Boolean
Compares self with other_currency and returns true if the are the same or if their id attributes match.
305 306 307 |
# File 'lib/redmineup/currency.rb', line 305 def ==(other_currency) self.equal?(other_currency) || compare_ids(other_currency) end |