Method: Gem::Package#spec
- Defined in:
- lib/rubygems/package.rb
#spec ⇒ Object
The spec for this gem.
If this is a package for a built gem the spec is loaded from the gem and returned. If this is a package for a gem being built the provided spec is returned.
595 596 597 598 599 |
# File 'lib/rubygems/package.rb', line 595 def spec verify unless @spec @spec end |