Sha256: a0c0e087e1ce20b8e40f50d8b1b020fe0e1b413959ec2b377dc06f8be2d24ed0

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

require_relative "body_row"

module Katalyst
  module Tables
    module Frontend
      module Builder
        class HeaderRow < BodyRow # :nodoc:
          def initialize(table)
            super table, nil

            @header = true
          end

          def cell(method, **options, &block)
            table_header_cell(method, **options, &block)
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katalyst-tables-1.1.0 lib/katalyst/tables/frontend/builder/header_row.rb
katalyst-tables-1.0.0 lib/katalyst/tables/frontend/builder/header_row.rb