class Money
def currency_as_string=(val)
-
(Money::Currency)
-
Parameters:
-
val
(String
) -- The currency string.
def currency_as_string=(val) warn "[DEPRECATION] `currency_as_string=` is deprecated - Money instances are immutable." \ " Please use `with_currency` instead." @currency = Currency.wrap(val) end