Sha256: 6f6938904f7d306f4ab24cb7637383d1855f0e0ebeff4150538cf01d483e5d7e
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 Bytes
Contents
module ProMotion module Table module Indexable def table_data_index return nil if @promotion_table_data.filtered || !self.class.get_indexable index = @promotion_table_data.sections.collect{ |section| section[:title][0] } index.unshift("{search}") if self.class.get_searchable index end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ProMotion-1.0.4 | lib/ProMotion/table/extensions/indexable.rb |