P
Peter Bailey
Hello,
Can someone please tell me how to get a count for the number of files in
a directory?
Example:
files = Dir.glob("*.pdf")
puts files.count ??
That doesn't work, but, I'd love to know what would work.
Thanks,
Peter
Can someone please tell me how to get a count for the number of files in
a directory?
Example:
files = Dir.glob("*.pdf")
puts files.count ??
That doesn't work, but, I'd love to know what would work.
Thanks,
Peter