Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Open current directory and output its path : path « File Directory « Ruby
Ruby
File Directory
path
Open current directory and output its path
dir = Dir.open(
"."
) dir.path
Related examples in the same category