Method: Matrix#each
- Defined in:
- lib/m500.rb
#each ⇒ Object
3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 |
# File 'lib/m500.rb', line 3113 def each m = (1..self.msize) n = (1..self.nsize) for x in m for y in n #p ".at_#{x}_#{y}" yield self.send("at_#{x}_#{y}") end end end |