Project

General

Profile

Actions

Bug #4664

closed

documentation updates 2011-05-10

Added by vbatts (Vincent Batts) over 13 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2011-05-10 trunk 31502) [x86_64-linux]
Backport:
[ruby-core:<unknown>]

Description

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

The attached patch addresses the following items needing documentation.

class Addrinfo # in file ext/socket/lib/socket.rb def connect_internal(local_addrinfo); end end

class Array

in file lib/rexml/xpath_parser.rb

def dclone(); end
end
class Fixnum

in file lib/rexml/xpath_parser.rb

def dclone(); end
end
class Float

in file lib/rexml/xpath_parser.rb

def dclone(); end
end

class Object

in file lib/rexml/xpath_parser.rb

def dclone(); end

in file object.c

def methods(*args); end

in file object.c

def private_methods(*args); end

in file object.c

def protected_methods(*args); end

in file object.c

def public_methods(*args); end

in file object.c

def hash(); end

in file lib/mkmf.rb

def depend_rules(depend); end

in file lib/mkmf.rb

def dummy_makefile(srcdir); end

in file lib/mkmf.rb

def try_const(const, headers = nil, opt = "", &b); end

in file lib/mkmf.rb

def try_type(type, headers = nil, opt = "", &b); end

end

class REXML::XPath # is documented

in file lib/rexml/xpath.rb

EMPTY_HASH = nil
end


Files

ruby_doc_updates-20110510_vbatts.patch (5.04 KB) ruby_doc_updates-20110510_vbatts.patch vbatts (Vincent Batts), 05/11/2011 01:04 AM
Actions #1

Updated by drbrain (Eric Hodel) over 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r31525.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • object.c (rb_obj_equal): Add documentation. Patch by Vincent Batts.
    [Ruby 1.9 - Bug #4664]
    • lib/rexml: ditto
    • lib/mkmf.rb: ditto
    • ext/socket/lib/socket.rb: ditto

Updated by drbrain (Eric Hodel) over 13 years ago

I made a few changes to your patch, mostly removing +Blah+ around constants in order to have those automatically be linked in HTML output.

Also, for connect_internal in Socket the parameter should be surrounded with +param+ when mentioned:

creates a new Socket connected to the address of +local_addrinfo+
Actions

Also available in: Atom PDF

Like0
Like0Like0