Sha256: 5a6b9ba048a653375b682e2866ec18a4f61cec0584e83c9ec3d6eb80b588fc3e
Contents?: true
Size: 784 Bytes
Versions: 1
Compression:
Stored size: 784 Bytes
Contents
# -*- encoding : utf-8 -*- module Exchange # constant for broken big decimal division in MRI 2.1.0 # https://www.ruby-forum.com/topic/4419577 # BROKEN_BIG_DECIMAL_DIVISION = (RUBY_VERSION == '2.1.0' && RUBY_ENGINE == 'ruby') # The current version of the exchange gem # VERSION = '1.2.1'.freeze # The root installation path of the gem # @version 0.5 # @since 0.1 # ROOT_PATH = File.dirname(__FILE__).to_s.sub(/\/lib\/exchange\/?$/, '') # The error that gets thrown if no conversion rate is available # @version 0.1 # @since 0.1 # NoRateError = Class.new StandardError # The error that gets thrown if the given currency is not a currency # @version 0.10 # @since 0.10 # NoCurrencyError = Class.new ArgumentError end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
exchange-1.2.1 | lib/exchange/base.rb |