docs: remove outdated comments from main.rb

lab3
Artem-Darius Weber 3 days ago
parent b1d90eab30
commit 6f9cd89526

@ -1,7 +1,4 @@
# sort by and sort разница
# enumurable isn't Module, it's Mixture. What is this?
def indices_sorted_by_descending_values(array) def indices_sorted_by_descending_values(array)
array.each_with_index.to_a array.each_with_index.to_a
.sort_by { |(element, index)| -element } .sort_by { |(element, index)| -element }

Loading…
Cancel
Save