Issue #4710 has been updated by Yusuke Endoh.

Status changed from Closed to Open

Hello,

I guess that Net::FTP#send_type_command is not expected to be
used directly by user, and should be stated clearly.
Or please use :nodoc:.
The same goes for other private method in Net::FTP (sanitize,
putline, ...)

See #4694.

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Bug #4710: documentation updates: Net::FTP is 100%
http://redmine.ruby-lang.org/issues/4710

Author: Vincent Batts
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-05-16 trunk 31589) [x86_64-linux]


per http://blog.segment7.net/2011/05/09/ruby-1-9-3-documentation-challenge

This patch includes the following (and some cleanup of ^I into spaces)

class Net::FTP # is documented

  # in file lib/net/ftp.rb
  def binary=(newmode); end

  # in file lib/net/ftp.rb
  def getline(); end

  # in file lib/net/ftp.rb
  def getmultiline(); end

  # in file lib/net/ftp.rb
  def getresp(); end

  # in file lib/net/ftp.rb
  def makepasv(); end

  # in file lib/net/ftp.rb
  def makeport(); end

  # in file lib/net/ftp.rb
  def open_socket(host, port); end

  # in file lib/net/ftp.rb
  def parse227(resp); end

  # in file lib/net/ftp.rb
  def parse228(resp); end

  # in file lib/net/ftp.rb
  def parse229(resp); end

  # in file lib/net/ftp.rb
  def parse257(resp); end

  # in file lib/net/ftp.rb
  def putline(line); end

  # in file lib/net/ftp.rb
  def sanitize(s); end

  # in file lib/net/ftp.rb
  def send_type_command(); end

  # in file lib/net/ftp.rb
  def sendport(host, port); end

  # in file lib/net/ftp.rb
  def transfercmd(cmd, rest_offset = nil); end

  # in file lib/net/ftp.rb
  def voidresp(); end

  # in file lib/net/ftp.rb
  def with_binary(newmode); end

end



-- 
http://redmine.ruby-lang.org