Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
load_gemspec(io)
public
Attempt to YAML-load a gemspec from the given
io parameter. Return nil if it fails.
# File lib/rubygems/package/tar_input.rb, line 193
def load_gemspec(io)
Gem::Specification.from_yaml io
rescue Gem::Exception
nil
end