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.0.0.beta.8 lib/lookbook/page_collection.rb
lookbook-1.0.0.beta.7 lib/lookbook/page_collection.rb
lookbook-1.0.0.beta.6 lib/lookbook/page_collection.rb
lookbook-1.0.0.beta.5 lib/lookbook/page_collection.rb
lookbook-1.0.0.beta.4 lib/lookbook/page_collection.rb
lookbook-1.0.0.beta.3 lib/lookbook/page_collection.rb
lookbook-1.0.0.beta.2 lib/lookbook/page_collection.rb
lookbook-1.0.0.beta.1 lib/lookbook/page_collection.rb
lookbook-1.0.0.beta.0 lib/lookbook/page_collection.rb