method

warning

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.

warning(statement)
private

No documentation available.

# File lib/rubygems/specification_policy.rb, line 392
  def warning(statement) # :nodoc:
    @warnings += 1

    alert_warning statement
  end