Sha256: 4ba7587c9d4ed2342fb8f8afb72c07cd38df1fc783c001666e4ddccf50eba8a8

Contents?: true

Size: 271 Bytes

Versions: 29

Compression:

Stored size: 271 Bytes

Contents

module Lookbook
  class PageCollection < Collection
    def id
      generate_id("page-collection", lookup_path || "root")
    end

    def label
      "Pages"
    end

    def type
      :page_collection
    end

    def self.describe_as
      "pages"
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
lookbook-1.3.4 lib/lookbook/page_collection.rb
lookbook-1.3.3 lib/lookbook/page_collection.rb
lookbook-1.3.1 lib/lookbook/page_collection.rb
lookbook-1.3.0 lib/lookbook/page_collection.rb
lookbook-1.2.1 lib/lookbook/page_collection.rb
lookbook-1.2.0 lib/lookbook/page_collection.rb
lookbook-1.1.1 lib/lookbook/page_collection.rb
lookbook-1.1.0 lib/lookbook/page_collection.rb
lookbook-1.0.8 lib/lookbook/page_collection.rb
lookbook-1.0.7 lib/lookbook/page_collection.rb
lookbook-1.0.6 lib/lookbook/page_collection.rb
lookbook-1.0.5 lib/lookbook/page_collection.rb
lookbook-1.0.4 lib/lookbook/page_collection.rb
lookbook-1.0.3 lib/lookbook/page_collection.rb
lookbook-1.0.2 lib/lookbook/page_collection.rb
lookbook-1.0.1 lib/lookbook/page_collection.rb
lookbook-1.0.0 lib/lookbook/page_collection.rb
lookbook-1.0.0.rc.3 lib/lookbook/page_collection.rb
lookbook-1.0.0.rc.2 lib/lookbook/page_collection.rb
lookbook-1.0.0.rc.1 lib/lookbook/page_collection.rb