mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add RDoc for Kernel global functions, tidy array and error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a5a5ac6c92
commit
d993e38f18
7 changed files with 1108 additions and 7 deletions
|
@ -334,7 +334,7 @@ module RDoc
|
|||
|
||||
############################################################
|
||||
|
||||
# Find the C code corresponding to a c method
|
||||
# Find the C code corresponding to a Ruby method
|
||||
def find_body(meth_name, meth_obj, body)
|
||||
if body =~ %r{((?>/\*.*?\*/\s+))(static\s+)?VALUE\s+#{meth_name}
|
||||
\s*(\(.*?\)).*?^}xm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue