Navigation through folders

Hi,
I want to know is there any plugin for folder navigation… plz reply
if anybody know’s solution

For eg:
in window xp os if you click on folders all folder list it will
display with “+” sign if yu click on “+” sign or folder it will display
subfolders like wise…

Thanx in advance
Pragash

On Sunday 10 August 2008 23:36:46 Pragash Mr. wrote:

I want to know is there any plugin for folder navigation… plz reply
if anybody know’s solution

Plugin to what? Ruby? Ruby doesn’t have plugins.

I think you want the Rails list.

On 11.08.2008 06:52, David M. wrote:

On Sunday 10 August 2008 23:36:46 Pragash Mr. wrote:

I want to know is there any plugin for folder navigation… plz reply
if anybody know’s solution

Plugin to what? Ruby? Ruby doesn’t have plugins.

I think you want the Rails list.

Just in case not: there is Find.find() which will enumerate all files
and directories below a given directory.

Kind regards

robert

David M. wrote:

On Sunday 10 August 2008 23:36:46 Pragash Mr. wrote:

I want to know is there any plugin for folder navigation… plz reply
if anybody know’s solution

Plugin to what? Ruby? Ruby doesn’t have plugins.

I think you want the Rails list.

Yes i need for rails list

This will show (and sort) all files and subfolder (in current
directory):

Dir.glob(’**/*’).sort.each { |entry| puts entry }

John.

I dont know what excatly you need but I think the Dir class from ruby
could
help you.
http://www.ruby-doc.org/core/classes/Dir.html#M002327
The above is the documentation of how to use this particular dir class.
cheers,
kranthi.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs