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