Sha256: 8022ab69948adc29f61d39b8dfe3382a64f03ba8c2584432184c4ecc34f693e6
Contents?: true
Size: 980 Bytes
Versions: 6
Compression:
Stored size: 980 Bytes
Contents
module ProMotion module TableScreenModule include MotionTable::PlainTable include MotionTable::SearchableTable include MotionTable::RefreshableTable include ProMotion::ScreenModule def update_table_data self.update_table_view_data(table_data) end module TableClassMethods # Searchable def searchable(params={}) @searchable_params = params @searchable = true end def get_searchable_params @searchable_params ||= nil end def get_searchable @searchable ||= false end # Refreshable def refreshable(params = {}) @refreshable_params = params @refreshable = true end def get_refreshable @refreshable ||= false end def get_refreshable_params @refreshable_params ||= nil end end def self.included(base) base.extend(ClassMethods) base.extend(TableClassMethods) end end end
Version data entries
6 entries across 6 versions & 1 rubygems