method

read_spec

v1_9_3_392 - Show latest stable - Class: Gem::OldFormat
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