Module: FFaker::Currency

Extended by:
Currency, ModuleUtils
Included in:
Currency
Defined in:
lib/ffaker/currency.rb

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore

Instance Method Details

#codeObject



8
9
10
# File 'lib/ffaker/currency.rb', line 8

def code
  CURRENCY_CODE.sample
end

#nameObject



12
13
14
# File 'lib/ffaker/currency.rb', line 12

def name
  CURRENCY_NAME.sample
end