End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::PackageTask#init
init(gem)
lib/rubygems/package_task.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/package_task.rb, line 81
def init(gem)
super gem.full_name, :noversion
@gem_spec = gem
@package_files += gem_spec.files if gem_spec.files
@fileutils_output = $stdout
end
Initialization tasks without the “yield self” or define operations.