Module: Utils
- Included in:
- CaseManager
- Defined in:
- lib/teuton/case_manager/utils.rb
Instance Method Summary collapse
Instance Method Details
#ensure_dir(dirname) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/teuton/case_manager/utils.rb', line 5 def ensure_dir(dirname) # TODO: Mover a la carpeta Utils # Create the directory if it dosn't exist. unless Dir.exist?(dirname) FileUtils.mkdir_p(dirname) return false end true end |