mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
9c711c0be6
commit
0441079b58
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed May 25 09:29:38 2011 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* lib/net/pop.rb: Hide implementation details from RDoc.
|
||||||
|
[Ruby 1.9 - Bug #4711]
|
||||||
|
|
||||||
Wed May 25 09:26:29 2011 Eric Hodel <drbrain@segment7.net>
|
Wed May 25 09:26:29 2011 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
* lib/net/ftp.rb: Add :nodoc: for private methods.
|
* lib/net/ftp.rb: Add :nodoc: for private methods.
|
||||||
|
|
|
@ -541,7 +541,7 @@ module Net
|
||||||
end
|
end
|
||||||
|
|
||||||
# internal method for Net::POP3.start
|
# 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) }
|
s = timeout(@open_timeout) { TCPSocket.open(@address, port) }
|
||||||
if use_ssl?
|
if use_ssl?
|
||||||
raise 'openssl library not installed' unless defined?(OpenSSL)
|
raise 'openssl library not installed' unless defined?(OpenSSL)
|
||||||
|
@ -577,7 +577,7 @@ module Net
|
||||||
private :do_start
|
private :do_start
|
||||||
|
|
||||||
# Does nothing
|
# Does nothing
|
||||||
def on_connect
|
def on_connect # :nodoc:
|
||||||
end
|
end
|
||||||
private :on_connect
|
private :on_connect
|
||||||
|
|
||||||
|
@ -592,7 +592,7 @@ module Net
|
||||||
# - number counter for mails
|
# - number counter for mails
|
||||||
# - number counter for bytes
|
# - number counter for bytes
|
||||||
# - quits the current command, if any
|
# - quits the current command, if any
|
||||||
def do_finish
|
def do_finish # :nodoc:
|
||||||
@mails = nil
|
@mails = nil
|
||||||
@n_mails = nil
|
@n_mails = nil
|
||||||
@n_bytes = nil
|
@n_bytes = nil
|
||||||
|
@ -608,7 +608,7 @@ module Net
|
||||||
# Returns the current command.
|
# Returns the current command.
|
||||||
#
|
#
|
||||||
# Raises IOError if there is no active socket
|
# Raises IOError if there is no active socket
|
||||||
def command
|
def command # :nodoc:
|
||||||
raise IOError, 'POP session not opened yet' \
|
raise IOError, 'POP session not opened yet' \
|
||||||
if not @socket or @socket.closed?
|
if not @socket or @socket.closed?
|
||||||
@command
|
@command
|
||||||
|
|
Loading…
Reference in a new issue