Sha256: 64a7064217156fddabfae393005f03d511631445028757437efd45740f33b91b

Contents?: true

Size: 540 Bytes

Versions: 3

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

module HS
  module TableInitializers
    private

    def initialize_table(data)
      HS::Table.new(get_params(data))
    end

    def initialize_thead(data)
      HS::Thead.new(get_params(data))
    end

    def initialize_tbody(data)
      HS::Tbody.new(get_params(data))
    end

    def initialize_tr(data)
      HS::Tr.new(get_params(data))
    end

    def initialize_th(data)
      HS::Th.new(get_params(data))
    end

    def initialize_td(data)
      HS::Td.new(get_params(data))
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hs-cli-0.3.3 lib/hs/loaders/initializers/table_initializers.rb
hs-cli-0.3.2 lib/hs/loaders/initializers/table_initializers.rb
hs-cli-0.3.1 lib/hs/loaders/initializers/table_initializers.rb