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

ruby-changes:19683

From: drbrain <ko1@a...>
Date: Wed, 25 May 2011 09:30:10 +0900 (JST)
Subject: [ruby-changes:19683] drbrain:r31728 (trunk): * lib/net/pop.rb: Hide implementation details from RDoc.

drbrain	2011-05-25 09:30:04 +0900 (Wed, 25 May 2011)

  New Revision: 31728

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

  Log:
    * lib/net/pop.rb:  Hide implementation details from RDoc.
      [Ruby 1.9 - Bug #4711]

  Modified files:
    trunk/ChangeLog
    trunk/lib/net/pop.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31727)
+++ ChangeLog	(revision 31728)
@@ -1,3 +1,8 @@
+Wed May 25 09:29:38 2011  Eric Hodel  <drbrain@s...>
+
+	* lib/net/pop.rb:  Hide implementation details from RDoc.
+	  [Ruby 1.9 - Bug #4711]
+
 Wed May 25 09:26:29 2011  Eric Hodel  <drbrain@s...>
 
 	* lib/net/ftp.rb:  Add :nodoc: for private methods.
Index: lib/net/pop.rb
===================================================================
--- lib/net/pop.rb	(revision 31727)
+++ lib/net/pop.rb	(revision 31728)
@@ -541,7 +541,7 @@
     end
 
     # internal method for Net::POP3.start
-    def do_start(account, password)
+    def do_start(account, password) # :nodoc:
       s = timeout(@open_timeout) { TCPSocket.open(@address, port) }
       if use_ssl?
         raise 'openssl library not installed' unless defined?(OpenSSL)
@@ -577,7 +577,7 @@
     private :do_start
 
     # Does nothing
-    def on_connect
+    def on_connect # :nodoc:
     end
     private :on_connect
 
@@ -592,7 +592,7 @@
     # - number counter for mails
     # - number counter for bytes
     # - quits the current command, if any
-    def do_finish
+    def do_finish # :nodoc:
       @mails = nil
       @n_mails = nil
       @n_bytes = nil
@@ -608,7 +608,7 @@
     # Returns the current command.
     #
     # Raises IOError if there is no active socket
-    def command
+    def command # :nodoc:
       raise IOError, 'POP session not opened yet' \
                                       if not @socket or @socket.closed?
       @command

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

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