method

read_spec

ruby latest stable - Class: Gem::OldFormat

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.

read_spec(file)
private

Reads the specification YAML from the supplied IO and constructs a Gem::Specification from it. After calling this method, the IO index will be set after the specification header.

file

IO

The IO to process