Sha256: 1764b873cb816b3e6ba7ccc068a9bbd1bba6da55252e8f5dd352e59b4409102f

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

require 'rails'
require 'table-for'

module TableFor
  class Base < BuildingBlocks::Base
    alias columns block_positions
    alias column use
    
    def header(name, options={}, &block)
      define("#{name.to_s}_header", options, &block)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
table-for-0.0.7 lib/table_for/table_for.rb