lib/gemirro/gem_version_collection.rb in gemirro-1.2.0 vs lib/gemirro/gem_version_collection.rb in gemirro-1.3.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module Gemirro
##
# The VersionCollection class contains a collection of ::Gem::Version
#
# @!attribute [r] gems
@@ -8,11 +10,10 @@
# @return [Array]
#
class GemVersionCollection
include Enumerable
- attr_reader :gems
- attr_reader :grouped
+ attr_reader :gems, :grouped
##
# @param [Array] gems
#
def initialize(gems = [])