Project

General

Profile

Actions

Bug #827

closed

Fix document for Gem::Installer#write_spec

Added by okkez (okkez _) over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
ruby -v:
Backport:
[ruby-dev:37282]

Description

=begin
コードとドキュメントが一致していないようだったので修正してみました。

Index: lib/rubygems/installer.rb

--- lib/rubygems/installer.rb (revision 20439)
+++ lib/rubygems/installer.rb (working copy)
@@ -270,11 +270,7 @@
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).

    def write_spec
    rubycode = @spec.to_ruby
    =end

Actions

Also available in: Atom PDF