Current folder name in Ruby?

Viewed 13779

Is there a simple way to get the name of the current folder name or do I have to do it with regexp?

2 Answers
Related