Using RubyGems

A

Abder-rahman Ali

What does (find) in require 'find' do?

Yes, it is a gem. So, I think I can find it here: http://rubygems.org/.
But, can anyone tell me how to use that and find information on gems
here. Just new to that actually.

Thanks.
 
B

Ben Bleything

What does (find) in require 'find' do?

It tells Ruby to process the contents of the file called "find.rb" in
the load path.
Yes, it is a gem. So, I think I can find it here: http://rubygems.org/.
But, can anyone tell me how to use that and find information on gems
here. Just new to that actually.

No, it's not a gem. It's part of the standard library. Documentation
is available on your system vi ri (ri Find) or online at
http://ruby-doc.org or various other places.

Ben
 
A

Abder-rahman Ali

Ben said:
It tells Ruby to process the contents of the file called "find.rb" in
the load path.


No, it's not a gem. It's part of the standard library. Documentation
is available on your system vi ri (ri Find) or online at
http://ruby-doc.org or various other places.

Ben

Ben,

Thanks for your reply. So, the "Function" of 'find' is just simply
searching files in a folder?

Thanks.
 
B

Ben Bleything

Thanks for your reply. So, the "Function" of 'find' is just simply
searching files in a folder?

It allows you to recursively find files in a directory, yes.

Ben
 

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,148
Messages
2,570,838
Members
47,385
Latest member
Joneswilliam01

Latest Threads

Top