Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > differentiating built-in methods from user defined ones

Reply
Thread Tools

differentiating built-in methods from user defined ones

 
 
mboes@cwazy.co.uk
Guest
Posts: n/a
 
      10-05-2005
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



 
Reply With Quote
 
 
 
 
Robert Klemme
Guest
Posts: n/a
 
      10-05-2005
wrote:
> 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

 
Reply With Quote
 
 
 
 
Eric Hodel
Guest
Posts: n/a
 
      10-06-2005
On Oct 5, 2005, at 12:49 AM, wrote:

> 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.

--
Eric Hodel - - http://segment7.net
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04





 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
methods that affect subsequently defined methods M. Ayhan Ruby 1 03-08-2007 11:06 PM
#if (defined(__STDC__) && !defined(NO_PROTOTYPE)) || defined(__cplusplus) Oodini C Programming 1 09-27-2005 07:58 PM
Hard drives--Are big ones more delicate than smaller ones? PowerPost2000 Computer Support 2 03-01-2005 10:30 PM
Differentiating a normal window from a popup window. =?Utf-8?B?U3VtYQ==?= ASP .Net 3 02-28-2005 03:01 PM
Differentiating postback requests using a web server log analyzer Peter Jaffe ASP .Net 4 07-09-2004 04:28 PM



Advertisments