module SmartTable
Generates gem initializer
rails g smart_table:init
Constants
- PAGE_PARAM
- PAGE_SIZES
- PAGE_SIZE_PARAM
- SEARCH_PARAM
- SHOW_ALL
- SORT_PARAM
Constants
- VERSION
Public Class Methods
setup() { |Config| ... }
click to toggle source
Method called on the gem initializer
# File lib/smart_table.rb, line 14 def self.setup if block_given? yield Config end end