instance method
Gem::Requirement#specific?
() -> bool
specific?
lib/rubygems/requirement.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/requirement.rb, line 253
def specific?
return true if @requirements.length > 1 # GIGO, > 1, > 2 is silly
!%w[> >=].include? @requirements.first.first # grab the operator
end
True if the requirement will not always match the latest version.
See also
#_sorted_requirements
#_tilde_requirements
#satisfied_by?
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0