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.
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.
On Tue, Jun 29, 2010 at 8:24 AM, Abder-rahman Ali
[email protected] 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 B. wrote:
On Tue, Jun 29, 2010 at 8:24 AM, Abder-rahman Ali
[email protected] 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.
On Tue, Jun 29, 2010 at 9:00 AM, Abder-rahman Ali
[email protected] 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
Ben B. wrote:
On Tue, Jun 29, 2010 at 9:00 AM, Abder-rahman Ali
[email protected] 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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs