Sha256: 5ad0682d0ae80bbb1f9eea8cdc663ec434ddef3bb191bcd83fe0fb20dd18a78e

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

module TxCatcher

  class CryptoUnit
  
    def self.new(type, amount, *args)
      if type == :ltc || type == :litecoin
        return LitoshiUnit.new(amount, *args)
      else
        return SatoshiUnit.new(amount, *args)
      end
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
txcatcher-0.1.84 lib/txcatcher/utils/crypto_unit.rb
txcatcher-0.1.83 lib/txcatcher/utils/crypto_unit.rb