Class: Koch::CreateFile
- Includes:
- Ogm
- Defined in:
- lib/koch/create_file.rb
Overview
Creates and/or changes a files’ contents, mode, owner and/or group
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods included from Ogm
#apply_group, #apply_mode, #apply_owner
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Koch::Resource
Instance Method Details
#apply! ⇒ Object
10 11 12 13 14 15 |
# File 'lib/koch/create_file.rb', line 10 def apply! apply_contents apply_owner apply_group apply_mode end |