method

validate_attribute_present

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_attribute_present(attribute)
private

No documentation available.

# File lib/rubygems/specification_policy.rb, line 380
  def validate_attribute_present(attribute)
    value = self.send attribute
    warning("no #{attribute} specified") if value.nil? || value.empty?
  end