Sha256: 4b6fbc64b7cf5906c818cd69b0bf658ac715622d55a7330edaffd7023f4ab90d

Contents?: true

Size: 190 Bytes

Versions: 1

Compression:

Stored size: 190 Bytes

Contents

module Lookbook
  class PreviewExampleCollection < EntityCollection
    protected

    def sort_entities
      @entities.sort_by!(&:label) if Lookbook.config.sort_examples
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lookbook-1.4.0 lib/lookbook/entities/collections/preview_example_collection.rb