Sha256: d75737fe02c721ee16fd2acaac8c966081068a5ff9625137a7da881e547b6398

Contents?: true

Size: 235 Bytes

Versions: 4

Compression:

Stored size: 235 Bytes

Contents

module ProMotion
  module Table
    module Indexable
      def index_from_section_titles
        @promotion_table_data.filtered ? nil : @promotion_table_data.sections.collect{ |section| section[:title][0] }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ProMotion-1.0.3 lib/ProMotion/table/extensions/indexable.rb
ProMotion-1.0.2 lib/ProMotion/table/extensions/indexable.rb
ProMotion-1.0.1 lib/ProMotion/table/extensions/indexable.rb
ProMotion-1.0.0 lib/ProMotion/table/extensions/indexable.rb