Ruby we might Miss

Posted on August 9, 2011

0


Hi,
This is the second part of the series I started in the last post.
The topic for this post :
DIR.

———————————————————————————————————————————–

Dir.[] is shorthand for Dir.glob:
Dir[“/s*”] # => [“/scripts”, “/srv”, “/selinux”, “/sys”, “/sbin”]
———————————————————————————————————————————–

Advertisements
Posted in: Ruby