Sha256: e7d3398dd50e46d6ad8c7996db114ea2f5d932b697e53942f4009a741150e277

Contents?: true

Size: 585 Bytes

Versions: 1

Compression:

Stored size: 585 Bytes

Contents

# -*- encoding : utf-8 -*-
module Exchange
  
  # The current version of the exchange gem
  #
  VERSION = '1.0.0'
  
  # 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.0.0 lib/exchange/base.rb