children(with_directory=true)
Instance Public methods
Returns the children of the directory (files and subdirectories, not
recursive) as an array of Pathname objects.
By default, the returned pathnames will have enough information to access
the files. If you set with_directory to false,
then the returned pathnames will contain the filename only.
For example:
pn = Pathname("/usr/lib/ruby/1.8")
pn.children
# -> [ Pathname:/usr/lib/ruby/1.8/English.rb,
Pathname:/usr/