Class: Coradoc::Html::Drop::TableRowDrop

Inherits:
Base
  • Object
show all
Defined in:
lib/coradoc/html/drop/table_row_drop.rb

Instance Attribute Summary

Attributes inherited from Base

#model

Instance Method Summary collapse

Methods inherited from Base

#id, #initialize, #template_type, #title, #to_liquid

Constructor Details

This class inherits a constructor from Coradoc::Html::Drop::Base

Instance Method Details

#cellsObject



15
16
17
# File 'lib/coradoc/html/drop/table_row_drop.rb', line 15

def cells
  children_to_liquid(@model.cells)
end

#header?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/coradoc/html/drop/table_row_drop.rb', line 7

def header?
  @model.header == true
end

#html_tagObject



11
12
13
# File 'lib/coradoc/html/drop/table_row_drop.rb', line 11

def html_tag
  'tr'
end