Class: EacTemplates::Variables::FsObject
- Defined in:
- lib/eac_templates/variables/fs_object.rb
Constant Summary collapse
- TEMPLATE_EXTNAME =
'.template'
Instance Method Summary collapse
Instance Method Details
#apply ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/eac_templates/variables/fs_object.rb', line 13 def apply if file? apply_file elsif directory? apply_directory else raise "Unknown filesystem type: #{source_absolute}" end end |