End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Commands::YankCommand#get_version_from_requirements
get_version_from_requirements(requirements)
lib/rubygems/commands/yank_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/commands/yank_command.rb, line 89
def get_version_from_requirements(requirements)
requirements.requirements.first[1].version
rescue
nil
end
No documentation available