Sha256: 62c41a76db8b330871b320be8a1f0bfb74392c8acfcf0221fe7a9444d1f6cf9f

Contents?: true

Size: 286 Bytes

Versions: 9

Compression:

Stored size: 286 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  module Currency
    extend ModuleUtils
    extend self

    def code
      fetch_sample(CURRENCY_CODE)
    end

    def name
      fetch_sample(CURRENCY_NAME)
    end

    def symbol
      fetch_sample(CURRENCY_SYMBOL)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ffakerTW-1.8.0 lib/ffakerTW/currency.rb
ffakerTW-1.7.0 lib/ffakerTW/currency.rb
ffakerTW-1.6.0 lib/ffakerTW/currency.rb
ffakerTW-1.5.0 lib/ffakerTW/currency.rb
ffakerTW-1.4.0 lib/ffakerTW/currency.rb
ffakerTW-1.3.0 lib/ffakerTW/currency.rb
ffakerTW-1.2.0 lib/ffakerTW/currency.rb
ffakerTW-1.1.0 lib/ffakerTW/currency.rb
ffakerTW-0.1.0 lib/ffakerTW/currency.rb