[前][次][番号順一覧][スレッド一覧]

ruby-changes:30551

From: zzak <ko1@a...>
Date: Tue, 20 Aug 2013 02:02:49 +0900 (JST)
Subject: [ruby-changes:30551] zzak:r42630 (trunk): * lib/rss/xmlparser.rb: [DOC] Hide legacy constant from rdoc

zzak	2013-08-20 02:02:40 +0900 (Tue, 20 Aug 2013)

  New Revision: 42630

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42630

  Log:
    * lib/rss/xmlparser.rb: [DOC] Hide legacy constant from rdoc
      Patch by Steve Klabnik [ruby-core:56708] [Bug #8799]

  Modified files:
    trunk/ChangeLog
    trunk/lib/rss/xmlparser.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42629)
+++ ChangeLog	(revision 42630)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Aug 20 02:01:10 2013  Zachary Scott  <e@z...>
+
+	* lib/rss/xmlparser.rb: [DOC] Hide legacy constant from rdoc
+	  Patch by Steve Klabnik [ruby-core:56708] [Bug #8799]
+
 Tue Aug 20 01:52:05 2013  Zachary Scott  <e@z...>
 
 	* ext/socket/unixserver.c: [DOC] Document #accept
Index: lib/rss/xmlparser.rb
===================================================================
--- lib/rss/xmlparser.rb	(revision 42629)
+++ lib/rss/xmlparser.rb	(revision 42630)
@@ -20,7 +20,8 @@ end https://github.com/ruby/ruby/blob/trunk/lib/rss/xmlparser.rb#L20
 module XML
   class Parser
     unless defined?(Error)
-      Error = ::XMLParserError
+      # This erorr is legacy, so we just set it to the new one
+      Error = ::XMLParserError # :nodoc:
     end
   end
 end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]