Sha256: eb62c82e190605d3a1dbbab8e94e96fca030b674c82ef98068861b205debc2b0
Contents?: true
Size: 241 Bytes
Versions: 11
Compression:
Stored size: 241 Bytes
Contents
require 'mtgox/offer' module MtGox class Ask < 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