Class: PPZ::Folder::OtherFileModel

Inherits:
AbstractFileModel show all
Defined in:
lib/folder/model/file/other.rb

Instance Attribute Summary

Attributes inherited from AbstractFileModel

#file_ext

Attributes inherited from AbstractModel

#father_model, #index, #level, #name, #next_model, #prev_model

Instance Method Summary collapse

Methods inherited from AbstractFileModel

from_path, #initialize

Methods inherited from AbstractModel

from_path, #initialize, #relative_link

Constructor Details

This class inherits a constructor from PPZ::Folder::AbstractFileModel

Instance Method Details

#_compile(dir_out) ⇒ Object



3
4
5
# File 'lib/folder/model/file/other.rb', line 3

def _compile dir_out
  FileUtils.cp @path, (dir_out + @basename)
end