Method: DawandaConverter::Money#>

Defined in:
lib/dawanda_converter/money.rb

#>(y) ⇒ Object



89
90
91
92
93
94
95
96
# File 'lib/dawanda_converter/money.rb', line 89

def >(y)
  if self.currency != y.currency
     y.convert_to(self.currency)
  end
  return true if self.amount > y.amount

  return false
end