Sha256: 5fcb15aedfd08edc8fb0115adfd7da6c47973d42b9b0993a7edee740432cbfb5
Contents?: true
Size: 286 Bytes
Versions: 7
Compression:
Stored size: 286 Bytes
Contents
class NoExchangeBank# :nodoc: def reduce(money, currency) return money if money.currency == currency raise Money::MoneyError.new("Current Money::bank does not support money exchange. Please implement a bank object that does and assign it to the Money class.") end end
Version data entries
7 entries across 7 versions & 2 rubygems