Method: Money::Currency#code

Defined in:
lib/money/currency.rb

#codeString

Returns currency symbol or iso code for currencies with no symbol.

Returns:

  • (String)


415
416
417
# File 'lib/money/currency.rb', line 415

def code
  symbol || iso_code
end