mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Add refinements support to method/instance_method.
[Fix GH-2034] From: manga_osyo <manga.osyo@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2210709b79
commit
2a4c87dc31
5 changed files with 117 additions and 15 deletions
1
method.h
1
method.h
|
@ -196,6 +196,7 @@ rb_method_entry_t *rb_method_entry_create(ID called_id, VALUE klass, rb_method_v
|
|||
const rb_method_entry_t *rb_method_entry_at(VALUE obj, ID id);
|
||||
|
||||
const rb_method_entry_t *rb_method_entry(VALUE klass, ID id);
|
||||
const rb_method_entry_t *rb_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class);
|
||||
const rb_method_entry_t *rb_method_entry_without_refinements(VALUE klass, ID id, VALUE *defined_class);
|
||||
const rb_method_entry_t *rb_resolve_refined_method(VALUE refinements, const rb_method_entry_t *me);
|
||||
RUBY_SYMBOL_EXPORT_BEGIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue