Sha256: 4b6a3b2e066165619f756e2fdabcfe56a857ab27635642cd8d828080a295326e

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 Bytes

Contents

require 'building-blocks'

module TableFor
  class Engine < 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

2 entries across 2 versions & 1 rubygems

Version Path
table-for-0.0.4 lib/table_for/table_for.rb
table-for-0.0.3 lib/table_for/table_for.rb