method
validate_platform
ruby latest stable - Class:
Gem::SpecificationPolicy
validate_platform()private
No documentation available.
# File lib/rubygems/specification_policy.rb, line 267
def validate_platform
case platform
when Gem::Platform, Gem::Platform::RUBY # ok
else
error "invalid platform #{platform.inspect}, see Gem::Platform"
end
end