From d07395c7f0ca19477fe28b7c1cbe3ded373200a2 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Sat, 27 May 2023 09:34:54 -0500 Subject: [PATCH] Style fix --- lib/api/applications.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/applications.rb b/lib/api/applications.rb index 29f6195..bc12f3e 100644 --- a/lib/api/applications.rb +++ b/lib/api/applications.rb @@ -9,7 +9,7 @@ class W3DHub @games = [] games.each { |hash| @games << Game.new(hash) } - @games.sort_by! { |a| a.name }.reverse + @games.sort_by!(&:name).reverse end def games