Sha256: 03ffd65cf59839864e18d6be94126e5389269c712430ce0d4a8ddaffa80073d1

Contents?: true

Size: 247 Bytes

Versions: 5

Compression:

Stored size: 247 Bytes

Contents

module TableCreator
  class ColGroup
    include ActionView::Helpers::TagHelper

    attr_accessor :options

    def initialize(options = {})
      @options = options
    end

    def to_html
      content_tag :colgroup, options
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
table_creator-0.4.0 lib/table_creator/col_group.rb
table_creator-0.3.0 lib/table_creator/col_group.rb
table_creator-0.2.0 lib/table_creator/col_group.rb
table_creator-0.1.1 lib/table_creator/col_group.rb
table_creator-0.1.0 lib/table_creator/col_group.rb