class HtmlGrid::DivList
Public Instance Methods
compose()
click to toggle source
Calls superclass method
HtmlGrid::DivComposite#compose
# File lib/htmlgrid/divlist.rb, line 9 def compose @model&.each_with_index { |item, idx| @list_index = idx super(item) } # if(header = self.class.const_get(:HEADER)) # @grid.push(create(header, @model, @session)) # @css_grid.push(nil) # end # if(footer = self.class.const_get(:FOOTER)) # @grid.push(create(footer, @model, @session)) # @css_grid.push(nil) # end end