diff options
Diffstat (limited to 'lib/rubygems/resolver/api_specification.rb')
-rw-r--r-- | lib/rubygems/resolver/api_specification.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rubygems/resolver/api_specification.rb b/lib/rubygems/resolver/api_specification.rb index c4e8a7cb54..9bbc095788 100644 --- a/lib/rubygems/resolver/api_specification.rb +++ b/lib/rubygems/resolver/api_specification.rb @@ -27,7 +27,7 @@ class Gem::Resolver::APISpecification < Gem::Resolver::Specification end end - def == other # :nodoc: + def ==(other) # :nodoc: self.class === other and @set == other.set and @name == other.name and @@ -46,7 +46,7 @@ class Gem::Resolver::APISpecification < Gem::Resolver::Specification Gem::Platform.match @platform end - def pretty_print q # :nodoc: + def pretty_print(q) # :nodoc: q.group 2, '[APISpecification', ']' do q.breakable q.text "name: #{name}" @@ -88,4 +88,3 @@ class Gem::Resolver::APISpecification < Gem::Resolver::Specification end end - |