Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::RDoc#remove
remove
lib/rdoc/rubygems_hook.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rdoc/rubygems_hook.rb, line 220
def remove
base_dir = @spec.base_dir
raise Gem::FilePermissionError, base_dir unless File.writable? base_dir
FileUtils.rm_rf @rdoc_dir
FileUtils.rm_rf @ri_dir
end
Removes generated RDoc and ri data