Sha256: 955db8798431b0f86376166fcf0044717c85d263ec853f7c1197c3ef00f4d1c4

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

# Creates and exposes the helper method
module TableHelper
  def easy_data_table(columns, label, grouping)
    data_table = DataTable.new(
      columns,
      label,
      grouping
    )
    render 'easy_data_tables/data_table', data_table: data_table
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easy_data_tables-0.1.1 app/helpers/table_helper.rb