Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Count Files In Directory With Ruby

DZone's Guide to

Count Files In Directory With Ruby

· ·
Free Resource

Dir["your-directory/**/*"].length
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}