Using RubyGems

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.

···

--
Posted via http://www.ruby-forum.com/.

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

···

On Tue, Jun 29, 2010 at 8:24 AM, Abder-rahman Ali <abder.rahman.ali@gmail.com> wrote:

Ben Bleything wrote:

···

On Tue, Jun 29, 2010 at 8:24 AM, Abder-rahman Ali > <abder.rahman.ali@gmail.com> wrote:

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

Ben,

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

Thanks.
--
Posted via http://www.ruby-forum.com/.

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

Ben

···

On Tue, Jun 29, 2010 at 9:00 AM, Abder-rahman Ali <abder.rahman.ali@gmail.com> wrote:

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

Ben Bleything wrote:

···

On Tue, Jun 29, 2010 at 9:00 AM, Abder-rahman Ali > <abder.rahman.ali@gmail.com> wrote:

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

Thanks Ben.
--
Posted via http://www.ruby-forum.com/.