# Searching for the C-Method which is invoked by any (ruby) methodcall

**URL:** <https://www.ruby-forum.com/t/searching-for-the-c-method-which-is-invoked-by-any-ruby-methodcall/121083>\
**Category:** Ruby\
**Created:** [November 23, 2007, 3:08pm UTC](https://www.ruby-forum.com/t/searching-for-the-c-method-which-is-invoked-by-any-ruby-methodcall/121083 "2007-11-23T15:08:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [November 23, 2007, 3:08pm UTC](https://www.ruby-forum.com/t/searching-for-the-c-method-which-is-invoked-by-any-ruby-methodcall/121083/1 "2007-11-23T15:08:07Z")

</div>

hey guys.

I’m searching for days for the C-method(s) which is/are invoked if a  
ruby method call takes place.  
Example

class X  
def hello()  
p “hello”  
end  
end

ix = X.new \<- methodcall new  
x.hello \<- methodcall hello

I found NODE \* rb\_method\_node(VALUE klass, ID id) in eval\_method.ci  
which is touched everytime, but it seems for me that this is not the  
right c-method.

thanks for your help

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [November 25, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/searching-for-the-c-method-which-is-invoked-by-any-ruby-methodcall/121083/2 "2007-11-25T22:51:04Z")

</div>

_push_  
----- Original Message -----  
From: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: “ruby-talk ML” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Friday, November 23, 2007 3:07 PM  
Subject: Searching for the C-Method which is invoked by any (ruby)  
methodcall

hey guys.

I’m searching for days for the C-method(s) which is/are invoked if a  
ruby  
method call takes place.  
Example

class X  
def hello()  
p “hello”  
end  
end

ix = X.new ← methodcall new  
x.hello ← methodcall hello

I found NODE \* rb\_method\_node(VALUE klass, ID id) in eval\_method.ci  
which  
is touched everytime, but it seems for me that this is not the right  
c-method.

thanks for your help
