Class: Grapple::HtmlTableBuilder
Instance Attribute Summary
#columns, #params, #records, #template
Class Method Summary
collapse
Instance Method Summary
collapse
#after_table, #before_table, configure, helper, #initialize
Class Method Details
.after_container(template, options) ⇒ Object
25
26
27
|
# File 'lib/grapple/html_table_builder.rb', line 25
def self.after_container(template, options)
''
end
|
.before_container(template, options) ⇒ Object
21
22
23
|
# File 'lib/grapple/html_table_builder.rb', line 21
def self.before_container(template, options)
''
end
|
.container_attributes(template, options) ⇒ Object
15
16
17
18
19
|
# File 'lib/grapple/html_table_builder.rb', line 15
def self.container_attributes(template, options)
return {
:class => 'grapple'
}
end
|
Instance Method Details
#table(content) ⇒ Object
11
12
13
|
# File 'lib/grapple/html_table_builder.rb', line 11
def table(content)
"<table>#{content}</table>\n".html_safe
end
|