From 6f9cd895261bd3b35cac4c46dd6cde17ab1d0255 Mon Sep 17 00:00:00 2001 From: Artem Darius Weber Date: Mon, 6 Jan 2025 13:16:19 +0300 Subject: [PATCH] docs: remove outdated comments from main.rb --- lab3_task1_funcation_block_arg/main.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lab3_task1_funcation_block_arg/main.rb b/lab3_task1_funcation_block_arg/main.rb index b08bb5b..0f80877 100644 --- a/lab3_task1_funcation_block_arg/main.rb +++ b/lab3_task1_funcation_block_arg/main.rb @@ -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) array.each_with_index.to_a .sort_by { |(element, index)| -element }