mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* object.c (rb_mod_const_defined): rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c5d4bb28d
commit
72838c28bd
1 changed files with 3 additions and 3 deletions
6
object.c
6
object.c
|
@ -1711,9 +1711,9 @@ rb_mod_const_defined(int argc, VALUE *argv, VALUE mod)
|
|||
* end
|
||||
* end
|
||||
* k = Klass.new
|
||||
* k.methods[0..9] #=> ["kMethod", "freeze", "nil?", "is_a?",
|
||||
* # "class", "instance_variable_set",
|
||||
* # "methods", "extend", "__send__", "instance_eval"]
|
||||
* k.methods[0..9] #=> [:kMethod, :freeze, :nil?, :is_a?,
|
||||
* # :class, :instance_variable_set,
|
||||
* # :methods, :extend, :__send__, :instance_eval]
|
||||
* k.methods.length #=> 42
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue