class Array

~ require './lib/midiator/interface.rb'

Public Instance Methods

alterindx(hash) click to toggle source
# File lib/melody_object/Mo_h_hc.rb, line 11
 def alterindx(hash)

   self.each{|t| 
#     puts "ho #{hash[t.val]}"
     t.val=hash[t.val]||0+t.val}
 end