method

load

ruby latest stable - Class: Gem::Specification
load(file)
public

Loads Ruby format gemspec from file.