[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

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

Saladin Mundi

11/23/2007 2:07:00 PM

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 =3D 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
1 Answer

Saladin Mundi

11/25/2007 9:50:00 PM

0

*push*
----- Original Message -----
From: <saladin.mundi@gmx.de>
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
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