Class: ObjectView::THeadCell

Inherits:
TCell show all
Defined in:
lib/object_view/table.rb

Instance Attribute Summary

Attributes inherited from Element

#acceptable_children, #attributes, #children, #single_line, #tag

Instance Method Summary collapse

Methods inherited from Element

#<<, #add, #add_with_tag, #attr, #css_class=, #find_element_with_tag, #id=, #is_acceptable_child?, #on_click=, #render, #render_attributes, #render_children, #style=

Constructor Details

#initializeTHeadCell

Returns a new instance of THeadCell.


121
122
123
124
125
# File 'lib/object_view/table.rb', line 121

def initialize
  super()
  self.single_line = true
  @tag = "th"
end