method

validate_self_inclusion_in_files_list

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.

validate_self_inclusion_in_files_list()
private

No documentation available.

# File lib/rubygems/specification_policy.rb, line 255
  def validate_self_inclusion_in_files_list
    return unless files.include?(file_name)

    error "#{full_name} contains itself (#{file_name}), check your files list"
  end