Namespace for several file utility methods for copying, moving, removing, etc.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install fileutils
FileUtils methods. For example:
.("somedir")# => ["somedir"] .("/usr/bin") .# => "/usr/bin"
You can find a full method list in the documentation.
Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/fileutils.
The gem is available as open source under the terms of the 2-Clause BSD License.