Sha256: bb604819353f5874002d5b03acdb845c58f951cfaff5bb77f17a33b815992c12

Contents?: true

Size: 373 Bytes

Versions: 7

Compression:

Stored size: 373 Bytes

Contents

class TableScreenIndexable < PM::TableScreen
  indexable

  def table_data
    %w{ Apple Google Microsoft Oracle Sun UNIX }.map do |group_name|
      {
        title: "#{group_name} Group",
        cells: [{ title: "Single cell for group #{group_name}" }]
      }
    end
  end

end

class TableScreenIndexableSearchable < TableScreenIndexable
  indexable
  searchable
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ProMotion-1.2.1 spec/helpers/table_screen_indexable.rb
ProMotion-1.2.0 spec/helpers/table_screen_indexable.rb
ProMotion-1.1.2 spec/helpers/table_screen_indexable.rb
ProMotion-1.1.1 spec/helpers/table_screen_indexable.rb
ProMotion-1.1.0 spec/helpers/table_screen_indexable.rb
ProMotion-1.1.0.rc1 spec/helpers/table_screen_indexable.rb
ProMotion-1.0.4 spec/helpers/table_screen_indexable.rb