method

check_latest_rubygems

Importance_0
v2_4_6 - Show latest stable - 0 notes - Class: UpdateCommand
check_latest_rubygems(version) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/update_command.rb, line 71
  def check_latest_rubygems version # :nodoc:
    if Gem.rubygems_version == version then
      say "Latest version currently installed. Aborting."
      terminate_interaction
    end

    options[:user_install] = false
  end
Register or log in to add new notes.