differentiating built-in methods from user defined ones

M

mboes

Hi there,

is there anyway of determining whether a given method is a method written
in C or if it's written in Ruby?

Many thanks,

Mathieu
 
R

Robert Klemme

Hi there,

is there anyway of determining whether a given method is a method
written in C or if it's written in Ruby?

You can read the source code...

Seriously: what do you need that for? IMHO it's on purpose that you
cannot distinguish them: that way they integrate seemingly.

Kind regards

robert
 
E

Eric Hodel

Hi there,

is there anyway of determining whether a given method is a method
written
in C or if it's written in Ruby?

ParseTree can only get the source for ruby methods. There's no built-
in way to make this distinction.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,184
Messages
2,570,973
Members
47,527
Latest member
RoxanneTos

Latest Threads

Top