diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-04 18:29:55 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-04 18:29:55 +0000 |
| commit | a835b366d9e4f18d466c0a79118d8a4c0a883083 (patch) | |
| tree | 818b12fe58c2e072fd79c3d6ca057e4f88d25518 /variable.c | |
| parent | 3db369cc6df77493496e9ea9e736b2ac8d8d2f5b (diff) | |
| download | ruby-a835b366d9e4f18d466c0a79118d8a4c0a883083.tar.gz ruby-a835b366d9e4f18d466c0a79118d8a4c0a883083.tar.xz ruby-a835b366d9e4f18d466c0a79118d8a4c0a883083.zip | |
* array.c (rb_ary_sort_bang): respect overridden <=> for String and
Fixnum. [ruby-core:17708]
* include/ruby/node.h (NOEX_BASIC): basic definition method flag.
* include/ruby/intern.h, vm_method.c (rb_method_basic_definition_p):
new function to check if the method is not redefined after the
initialization.
* vm_method.c (rb_obj_respond_to): use rb_method_basic_definition_p.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
0 files changed, 0 insertions, 0 deletions
