method

verify_spec_name

ruby latest stable - Class: Gem::Installer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

verify_spec_name()
public

No documentation available.

# File lib/rubygems/installer.rb, line 649
  def verify_spec_name
    return if spec.name =~ Gem::Specification::VALID_NAME_PATTERN
    raise Gem::InstallError, "#{spec} has an invalid name"
  end