lib/iruby_init.rb
# enables calling members of an array. which are hashes  by it name
# i.e
#
#  2.5.0 :006 > C.received[:OpenOrder].local_id
#   => [16, 17, 21, 20, 19, 8, 7]
#   2.5.0 :007 > C.received[:OpenOrder].contract.to_human
#    => ["<Bag: IECombo SMART USD legs:  >", "<Stock: GE USD>", "<Stock: GE USD>", "<Stock: GE USD>", "<Stock: GE USD>", "<Stock: WFC USD>", "<Stock: WFC USD>"]
#
# its included only in the notebook:w, for inspection purposes
enables calling members of an array. which are hashes  by it name
i.e



its included only in the notebook:w, for inspection purposes
enables calling members of an array . which are hashes by it name i . e its included only in the notebook : w for inspection purposes
def method_missing(method, *key)
    unless method == :to_hash || method == :to_str 
      return self.map{|x| x.public_send(method, *key)}
    end
  end
def method_missing ( method , * key ) unless method == :to_hash || method == :to_str return self . map { | x | x . public_send ( method , * key ) } end end
enables calling members of an array.
enables calling members of an array .
#|| method == :to_int
method
<not_specific>
key
<not_specific>