Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/melody_object/Mo_h_hc.rb
Overview
~ require ‘./lib/midiator/interface.rb’
Instance Method Summary collapse
Instance Method Details
#alterindx(hash) ⇒ Object
11 12 13 14 15 16 |
# 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 |