Class: DeclarativeGrid::Renderers::Html
Instance Attribute Summary
#options, #records
Instance Method Summary
collapse
#columns, #each_record, #each_row, grid_class, grid_class=, #headers, inherited, #initialize, #inspect, options, options=
Instance Method Details
10
11
12
|
# File 'lib/declarative_grid/renderers/html.rb', line 10
def perform(io)
table {|s| io.puts(s) }
end
|
#to_string ⇒ Object
14
15
16
|
# File 'lib/declarative_grid/renderers/html.rb', line 14
def to_string
super.html_safe
end
|
#util ⇒ Object
5
6
7
|
# File 'lib/declarative_grid/renderers/html.rb', line 5
def util
ERB::Util
end
|