module Adminterface::Extensions::Views::Components::TableFor

Public Instance Methods

build(obj, *attrs) click to toggle source
Calls superclass method
# File lib/adminterface/extensions/views/components/table_for.rb, line 6
def build(obj, *attrs)
  options = attrs.extract_options!
  options[:class] = "table_for #{options[:class]} #{table_for_css_classes}".squish
  attrs = attrs.push options
  super(obj, *attrs)
end