Module: Stick::Units::Config

Defined in:
lib/stick/units/base.rb,
lib/stick/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/stick/units’ #DATADIR = File.join(::Config::CONFIG, ‘stick’, ‘units’) CONFIGDIR = ‘lib/stick/data’ #DATADIR = File.join(::Config::CONFIG, ‘stick’, ‘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