summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/installer.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index d719580a0a..259c3ed31e 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -270,11 +270,8 @@ class Gem::Installer
end
##
- # Writes the .gemspec specification (in Ruby) to the supplied
- # spec_path.
- #
- # spec:: [Gem::Specification] The Gem specification to output
- # spec_path:: [String] The location (path) to write the gemspec to
+ # Writes the .gemspec specification (in Ruby) to the gem home's
+ # specifications directory.
def write_spec
rubycode = @spec.to_ruby