Class: EPO::DB::PrepareDirAction
- Inherits:
-
Struct
- Object
- Struct
- EPO::DB::PrepareDirAction
- Defined in:
- lib/epo/core/db.rb
Overview
An action to prepare the directory for a resource
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
193 194 195 |
# File 'lib/epo/core/db.rb', line 193 def path @path end |
Instance Method Details
#perform ⇒ Object
194 195 196 |
# File 'lib/epo/core/db.rb', line 194 def perform FileUtils.mkdir_p(path) end |