Sha256: e5ddef66e712c7a82c26d78f56030de8ef9ffb26486ca19b4b6b0b31bbdbdaed

Contents?: true

Size: 283 Bytes

Versions: 4

Compression:

Stored size: 283 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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ProMotion-1.0.3 spec/helpers/table_screen_indexable.rb
ProMotion-1.0.2 spec/helpers/table_screen_indexable.rb
ProMotion-1.0.1 spec/helpers/table_screen_indexable.rb
ProMotion-1.0.0 spec/helpers/table_screen_indexable.rb