Class: MtGox::Models::Depth
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
Methods inherited from Model
define_property, #initialize, prop, #set_attributes
Constructor Details
This class inherits a constructor from MtGox::Models::Model
Instance Method Details
#to_s ⇒ Object
16 17 18 19 |
# File 'lib/mtgox/models/depth.rb', line 16 def to_s "<Depth: vol change #{ vol.round(2) } at #{ price.round(3) }"+ "(#{type}) #{currency}/#{item} >" end |