diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-16 11:48:53 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-17 18:50:55 +0900 |
commit | c480a0c46a5fc9479bf6e3aa5bd1d2177878fad1 (patch) | |
tree | b972db1241848fd66f64efb9de500962d0d7e5ad /lib/rubygems/requirement.rb | |
parent | d9f92511adbad1d7841bac0999eec026d966e95e (diff) | |
download | ruby-c480a0c46a5fc9479bf6e3aa5bd1d2177878fad1.tar.gz |
[rubygems/rubygems] util/rubocop -A --only Layout/LeadingCommentSpace
https://github.com/rubygems/rubygems/commit/4d680320e3
Diffstat (limited to 'lib/rubygems/requirement.rb')
-rw-r--r-- | lib/rubygems/requirement.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/requirement.rb b/lib/rubygems/requirement.rb index bc2fd9af55..030cb57842 100644 --- a/lib/rubygems/requirement.rb +++ b/lib/rubygems/requirement.rb @@ -9,7 +9,7 @@ require_relative "version" # together in RubyGems. class Gem::Requirement - OPS = { #:nodoc: + OPS = { # :nodoc: "=" => lambda {|v, r| v == r }, "!=" => lambda {|v, r| v != r }, ">" => lambda {|v, r| v > r }, @@ -119,7 +119,7 @@ class Gem::Requirement # An array of requirement pairs. The first element of the pair is # the op, and the second is the Gem::Version. - attr_reader :requirements #:nodoc: + attr_reader :requirements # :nodoc: ## # Constructs a requirement from +requirements+. Requirements can be |