class CurrencyConverter::UnknownCurrency
Unknown Currency¶ ↑
Raised when we try to grab data for an unsupported currency code.
Public Class Methods
new(currency_code)
click to toggle source
Calls superclass method
# File lib/currency_converter/exceptions.rb, line 15 def initialize(currency_code) super("#{currency_code} is not supported.") end