[DOC] The Document-method hint is needed only in C files

'Document-method' string in C file has a special treatment. In Ruby source file,
however, it is considered to be part of the documentation.

Note Numeric#size was migrated from C to Ruby, in 3208a5df2dfb429752a130a36274464e9924cf44
This commit is contained in:
Šimon Lukašík 2023-04-10 12:20:42 +00:00 committed by GitHub
parent dc5f938765
commit 2e50c07e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-04-10 12:21:13 +00:00
Merged: https://github.com/ruby/ruby/pull/7682

Merged-By: nobu <nobu@ruby-lang.org>

View File

@ -210,8 +210,6 @@ class Integer
self
end
#
# Document-method: Integer#size
# call-seq:
# int.size -> int
#