method

new

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Package
new(gem, security_policy = nil) public

Creates a new Gem::Package for the file at gem. gem can also be provided as an IO object.

If gem is an existing file in the old format a Gem::Package::Old will be returned.

Show source
Register or log in to add new notes.