mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
cancel subversion backfire. sorry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fc634cc092
commit
1df42597d1
63 changed files with 1830 additions and 713 deletions
10
class.c
10
class.c
|
@ -988,14 +988,14 @@ rb_class_public_instance_methods(int argc, VALUE *argv, VALUE mod)
|
|||
* <i>obj</i>'s ancestors.
|
||||
*
|
||||
* class Klass
|
||||
* def kMethod()
|
||||
* def klass_method()
|
||||
* 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.length #=> 42
|
||||
* k.methods[0..9] #=> [:klass_method, :nil?, :===,
|
||||
* # :==~, :!, :eql?
|
||||
* # :hash, :<=>, :class, :singleton_class]
|
||||
* k.methods.length #=> 57
|
||||
*/
|
||||
|
||||
VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue