Sha256: 534720d40d1f69387c53afaff28be02110229c5a7e7fd1ad7a10f1d957cb1721

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

module Mcoin
  # :nodoc:
  module Market
    autoload :Base, 'mcoin/market/base'
    autoload :Bitfinex, 'mcoin/market/bitfinex'
    autoload :Bitstamp, 'mcoin/market/Bitstamp'
    autoload :Kraken, 'mcoin/market/kraken'

    def self.pick(name)
      const_get(name)
    end

    def self.available
      constants - [:Base]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mcoin-0.1.0 lib/mcoin/market.rb