class Money::Formatter
def append_currency_symbol(formatted_number)
def append_currency_symbol(formatted_number) if rules[:with_currency] formatted_number << " " if rules[:html] formatted_number << "<span class=\"currency\">#{currency.to_s}</span>" elsif rules[:html_wrap] formatted_number << html_wrap(currency.to_s, "currency") else formatted_number << currency.to_s end end formatted_number end