class HtmlGrid::CenteredComposite

Constants

DIV_ATTRIBUTES
TABLE_ATTRIBUTES

Public Instance Methods

init() click to toggle source
Calls superclass method
# File lib/htmlgrid/centeredcomposite.rb, line 43
def init
  super
  @attributes.update(self.class::TABLE_ATTRIBUTES)
end
to_html(context) click to toggle source
Calls superclass method
# File lib/htmlgrid/centeredcomposite.rb, line 37
def to_html(context)
  context.div(self.class::DIV_ATTRIBUTES) {
    super
  }
end