class Money

def currency_as_string=(val)

Returns:
  • (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