Changes

Jump to: navigation, search

Ruby Directory Handling

148 bytes added, 15:34, 22 July 2008
Directory Listings in Ruby
<pre>
Dir.entries(".")
=> ["techotopia_stats.jpg", "toolButton.png", ".", "..", "techotopia_stats_since_start.jpg", "music_728x90_1.jpg", "music_468x60_a.jpg", "Fedora_essentials.jpg"]
</pre>
Fedora_essentials.jpg
</pre>
 
== Summary ==
 
This chapter has covered the basics of directory handling in Ruby. The next chapter will cover the concepts of Ruby file handling.

Navigation menu