-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
fast_matrix/lib/fast_matrix.rb
Line 42 in 3ec9f26
| def each_with_index! |
each with bang ! is not common parctice in ruby, since each usually returns original unchanged object. Maybe this method should be split into chain of map.with_index
https://stackoverflow.com/questions/4697557/how-to-map-with-index-in-ruby