Class: Katalyst::Tables::HeaderRowComponent

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
HtmlAttributes
Defined in:
app/components/katalyst/tables/header_row_component.rb

Overview

:nodoc:

Direct Known Subclasses

Summary::HeaderComponent

Instance Method Summary collapse

Instance Method Details

#before_renderObject



10
11
12
# File 'app/components/katalyst/tables/header_row_component.rb', line 10

def before_render
  content # ensure content is rendered so html_attributes can be set
end

#body?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'app/components/katalyst/tables/header_row_component.rb', line 18

def body?
  false
end

#header?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'app/components/katalyst/tables/header_row_component.rb', line 14

def header?
  true
end

#inspectObject



22
23
24
# File 'app/components/katalyst/tables/header_row_component.rb', line 22

def inspect
  "#<#{self.class.name}>"
end