Sha256: 55148fbd1a1569357ff8ad1e1dc3e1e0f9fd556d10dbf0609f72072a134ae23a
Contents?: true
Size: 241 Bytes
Versions: 11
Compression:
Stored size: 241 Bytes
Contents
require 'mtgox/offer' module MtGox class Bid < Offer def initialize(price=nil, amount=nil) self.price = price.to_f self.amount = amount.to_f end def eprice price * (1 - MtGox.commission) end end end
Version data entries
11 entries across 11 versions & 2 rubygems