Class: PPZ::Folder::PPZFileModel

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

Instance Attribute Summary collapse

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 Attribute Details

#leftObject

Returns the value of attribute left.



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

def left
  @left
end

#rightObject

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