diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-25 00:30:04 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-25 00:30:04 +0000 |
commit | 0441079b5863e186a08591350e479c56048614fc (patch) | |
tree | 1c53950c365c3e96c2f3d2ad8df929d8cecbcac1 /lib | |
parent | 9c711c0be66ac8a3ce16d47a705dc85f30fc54d6 (diff) | |
download | ruby-0441079b5863e186a08591350e479c56048614fc.tar.gz |
* lib/net/pop.rb: Hide implementation details from RDoc.
[Ruby 1.9 - Bug #4711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/pop.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb index 87c921bf87..7e14246d16 100644 --- a/lib/net/pop.rb +++ b/lib/net/pop.rb @@ -541,7 +541,7 @@ module Net 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 @@ module Net private :do_start # Does nothing - def on_connect + def on_connect # :nodoc: end private :on_connect @@ -592,7 +592,7 @@ module Net # - 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 @@ module Net # 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 |