Sha256: 67ae22cfcdabe61ab76c468bb426abe492231bdc41e7f58efe45102ce85d0d45
Contents?: true
Size: 536 Bytes
Versions: 11
Compression:
Stored size: 536 Bytes
Contents
module AdminData module SetupConfig extend ActiveSupport::Concern module ClassMethods # See AdminData::Configuration for details. attr_accessor :configuration # Call this method to customize the behavior of admin_data . # # @example # AdminData.config do |config| # config.number_of_records_per_page = 20 # end def config self.configuration ||= Configuration.new block_given? ? yield(configuration) : configuration end end end end
Version data entries
11 entries across 11 versions & 2 rubygems