Class: Katalyst::Tables::BodyRowComponent

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

Overview

:nodoc:

Direct Known Subclasses

Summary::BodyComponent

Instance Method Summary collapse

Instance Method Details

#before_renderObject



10
11
12
# File 'app/components/katalyst/tables/body_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/body_row_component.rb', line 18

def body?
  true
end

#header?Boolean

Returns:

  • (Boolean)


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

def header?
  false
end

#inspectObject



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

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