class Money

def self.setup_defaults

def self.setup_defaults
  # Set the default bank for creating new +Money+ objects.
  self.default_bank = Bank::VariableExchange.instance
  # Set the default currency for creating new +Money+ object.
  self.default_currency = Currency.new("USD")
  @using_deprecated_default_currency = true
  # Default to using i18n
  @use_i18n = true
  # Default to using legacy locale backend
  self.locale_backend = :legacy
  # Default to not using infinite precision cents
  self.default_infinite_precision = false
  # Default to bankers rounding
  self.rounding_mode = BigDecimal::ROUND_HALF_EVEN
  @using_deprecated_default_rounding_mode = true
  # Default the conversion of Rationals precision to 16
  self.conversion_precision = 16
end