lib/blocks/table_for.rb in blocks-0.6 vs lib/blocks/table_for.rb in blocks-0.7
- old
+ new
@@ -1,6 +1,6 @@
module Blocks
- class TableFor < Blocks::Context
+ class TableFor < Blocks::Builder
alias columns block_positions
alias column use
def header(name, options={}, &block)
define("#{name.to_s}_header", options, &block)