method

error

ruby latest stable - Class: Gem::SpecificationPolicy

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

error(statement)
private

No documentation available.

# File lib/rubygems/specification_policy.rb, line 398
  def error(statement) # :nodoc:
    raise Gem::InvalidSpecificationException, statement
  ensure
    alert_warning help_text
  end