lib/table_for/base.rb in table-for-2.2.0 vs lib/table_for/base.rb in table-for-3.0.0

- old
+ new

@@ -1,19 +1,13 @@ require 'blocks' module TableFor class Base < Blocks::Base + include TableFor::HelperMethods::InstanceMethods + alias columns queued_blocks alias column queue attr_accessor :current_record alias_method :current_row, :current_record - - def header(name, options={}, &block) - define("#{name.to_s}_header", options, &block) - end - - def set_current_record(record) - self.current_record = record - end end -end +end \ No newline at end of file