Method: Gem::PackageTask#init
- Defined in:
- lib/rubygems/package_task.rb
#init(gem) ⇒ Object
Initialization tasks without the “yield self” or define operations.
82 83 84 85 86 87 |
# File 'lib/rubygems/package_task.rb', line 82 def init(gem) super gem.full_name, :noversion @gem_spec = gem @package_files += gem_spec.files if gem_spec.files @fileutils_output = $stdout end |