Class: PPZ::Folder::PPZFileModel
- Inherits:
-
AbstractFileModel
- Object
- AbstractModel
- AbstractFileModel
- PPZ::Folder::PPZFileModel
- Defined in:
- lib/folder/model/file/ppz.rb
Instance Attribute Summary collapse
-
#left ⇒ Object
Returns the value of attribute left.
-
#right ⇒ Object
Returns the value of attribute right.
Attributes inherited from AbstractFileModel
Attributes inherited from AbstractModel
#father_model, #index, #level, #name, #next_model, #prev_model
Instance Method Summary collapse
Methods inherited from AbstractFileModel
Methods inherited from AbstractModel
from_path, #initialize, #relative_link
Constructor Details
This class inherits a constructor from PPZ::Folder::AbstractFileModel
Instance Attribute Details
#left ⇒ Object
Returns the value of attribute left.
3 4 5 |
# File 'lib/folder/model/file/ppz.rb', line 3 def left @left end |
#right ⇒ Object
Returns the value of attribute right.
3 4 5 |
# File 'lib/folder/model/file/ppz.rb', line 3 def right @right end |
Instance Method Details
#_compile(dir_out) ⇒ Object
5 6 7 |
# File 'lib/folder/model/file/ppz.rb', line 5 def _compile dir_out PPZ::Func::write_to_file (dir_out + (@name + '.html')), to_html end |