Skip to content
On this page

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.0

Gem::Package

< Object include Gem::UserInteraction 14 instance methods 3 class methods

Class methods 3

Instance methods 14

Attributes
Read

Checksums for the contents of the package

Read & Write

Permission for other files

Read & Write

Permission for directories

Read

The files in this package. This is not the contents of the gem, just the files in the top-level container.

gem

Read

Reference to the gem being packaged.

Read & Write

Permission for program files

Read & Write

The security policy used for verifying the contents of this package.

Write

Sets the Gem::Specification to use to build this package.