Ruby File class

K

kevid

Hi all,

am working on a platform that uses ruby but has not all the File class
of ruby implemented. For instance,

File.read is not implemented.

Can anyone help me with the link or how to get the ruby file class (i
mean the file that contains ruby file class). so i can add it to my
application or the framework i use.
 
J

Jesús Gabriel y Galán

Hi all,

am working on a platform that uses ruby but has not all the File class
of ruby implemented. For instance,

File.read is not implemented.

What platform is that?

Can anyone help me with the link or how to get the ruby file class (i
mean the file that contains ruby file class). so i can add it to my
application or the framework i use.

In MRI, the File class is implemented in C. This is the .c file for ruby 1.8.7:

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/file.c?revision=24114&view=markup

I don't know if this is useful for you or not.

Jesus.
 

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,154
Messages
2,570,870
Members
47,400
Latest member
FloridaFvt

Latest Threads

Top