Reverse of rb_class2name()

Hello!

What is the reverse function of rb_class2name()? I want
to find the VALUE that is mapped to “Foo” class. Is it
rb_intern(“Foo”)?

Regards,

···


University of Athens I bet the human brain
Physics Department is a kludge --Marvin Minsky

Elias Athanasopoulos wrote:

Hello!

What is the reverse function of rb_class2name()? I want
to find the VALUE that is mapped to “Foo” class. Is it
rb_intern(“Foo”)?

rb_path2class(path)

?

daz

Yes. Thank you.

Regards,

···

On Sun, May 30, 2004 at 06:53:40PM +0900, daz wrote:

Elias Athanasopoulos wrote:

Hello!

What is the reverse function of rb_class2name()? I want
to find the VALUE that is mapped to “Foo” class. Is it
rb_intern(“Foo”)?

rb_path2class(path)


University of Athens I bet the human brain
Physics Department is a kludge --Marvin Minsky