module Currencies
Definitions
Global[:NZD]
Signature
-
attribute
Hash
The New Zealand Dollar configuration.
Implementation
Global[:NZD] = {
:precision => 2,
:symbol => '$',
:name => 'NZD',
:description => 'New Zealand Dollar',
:formatter => Formatters::DecimalCurrencyFormatter,
}
Global[:GBP]
Signature
-
attribute
Hash
The Great British Pound configuration.
Implementation
Global[:GBP] = {
:precision => 2,
:symbol => '£',
:name => 'GBP',
:description => 'Pound Sterling',
:formatter => Formatters::DecimalCurrencyFormatter,
}
Global[:AUD]
Signature
-
attribute
Hash
The Australian Dollar configuration.
Implementation
Global[:AUD] = {
:precision => 2,
:symbol => '$',
:name => 'AUD',
:description => 'Australian Dollar',
:formatter => Formatters::DecimalCurrencyFormatter,
}
Global[:USD]
Signature
-
attribute
Hash
The United States Dollar configuration.
Implementation
Global[:USD] = {
:precision => 2,
:symbol => '$',
:name => 'USD',
:description => 'United States Dollar',
:formatter => Formatters::DecimalCurrencyFormatter,
}
Global[:EUR]
Signature
-
attribute
Hash
The Euro configuration.
Implementation
Global[:EUR] = {
:precision => 2,
:symbol => '€',
:name => 'EUR',
:description => 'Euro',
:formatter => Formatters::DecimalCurrencyFormatter,
#:delimiter => '.',
#:separator => ','
}
Global[:JPY]
Signature
-
attribute
Hash
The Japanese Yen configuration.
Implementation
Global[:JPY] = {
:precision => 0,
:symbol => '¥',
:name => 'JPY',
:description => 'Japanese Yen',
:formatter => Formatters::DecimalCurrencyFormatter
}
Global[:BRL]
Signature
-
attribute
Hash
The Brazilian Real configuration.
Implementation
Global[:BRL] = {
:precision => 2,
:symbol => 'R$',
:name => 'BRL',
:description => 'Brazilian Real',
:formatter => Formatters::DecimalCurrencyFormatter,
:delimiter => '.',
:separator => ','
}
Global[:BTC]
Signature
-
attribute
Hash
The Bitcoin configuration.
Implementation
Global[:BTC] = {
:precision => 8,
:symbol => 'B⃦',
:name => 'BTC',
:description => 'Bitcoin',
:formatter => Formatters::DecimalCurrencyFormatter
}