Module: Van::Units::Config

Defined in:
lib/van/units/base.rb,
lib/van/units/currency.rb

Overview

Contains some configuration related constants

Constant Summary collapse

SYSTEMDIR =

The directory in which the data files are searched for DATADIR = ‘data/van/units’ #DATADIR = File.join(::Config::CONFIG, ‘van’, ‘units’) CONFIGDIR = ‘lib/van/data’ #DATADIR = File.join(::Config::CONFIG, ‘van’, ‘units’)

File.dirname(__FILE__)
CONFIGDIR =
File.join(SYSTEMDIR, 'data')
DEFAULT_CURRENCY_SERVICE =

The standard service used for looking up currency exchange rates

Units::Converter::ExchangeRate::XMethods