Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 96a9338

Browse files
committed
Disable rubocop Metrics/AbcSize for Comparable <=>
1 parent 43eeecb commit 96a9338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/support/comparable_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def initialize(string)
1010
@string = string
1111
end
1212

13-
def <=>(other)
13+
def <=>(other) # rubocop:disable Metrics/AbcSize
1414
other = self.class.new(other) unless other.is_a?(self.class)
1515

1616
return 0 if string == other.string

0 commit comments

Comments
 (0)