Sha256: 25deb27c69e6aa8b5fb162d9c57cd8d50b42e736c65c4138212479a5d94b564f
Contents?: true
Size: 601 Bytes
Versions: 8
Compression:
Stored size: 601 Bytes
Contents
# frozen_string_literal: true module EacRailsUtils module DataTableHelper class Setup attr_reader :columns attr_accessor :paging def initialize @columns = [] # rubocop:disable Rails/HelperInstanceVariable @paging = true # rubocop:disable Rails/HelperInstanceVariable end # @return [EacRailsUtils::DataTableHelper::Column] def column(*args, &block) column = ::EacRailsUtils::DataTableHelper::Column.new(args, block) @columns << column # rubocop:disable Rails/HelperInstanceVariable column end end end end
Version data entries
8 entries across 8 versions & 1 rubygems