lib/dining-table/table.rb in dining-table-1.0.0 vs lib/dining-table/table.rb in dining-table-1.1.0
- old
+ new
@@ -46,9 +46,13 @@
def skip_footer
self.no_footer = true
end
+ def object_class
+ options[:class]
+ end
+
private
# auxiliary function
def column(name, options = {}, &block)
klass = options[:class]
\ No newline at end of file