Class: Simmer::Util::FileSystem
- Inherits:
-
Object
- Object
- Simmer::Util::FileSystem
- Defined in:
- lib/simmer/util/file_system.rb
Overview
Provides convenience methods for working with the file system.
Class Method Summary collapse
Class Method Details
.setup_directory(dir_path) ⇒ Object
17 18 19 20 21 |
# File 'lib/simmer/util/file_system.rb', line 17 def setup_directory(dir_path) File.(dir_path).tap do || FileUtils.mkdir_p() end end |