Sha256: adeda4368aa1d7574110a891d544faec49d33b6024262437c43791906e39fc4f

Contents?: true

Size: 237 Bytes

Versions: 26

Compression:

Stored size: 237 Bytes

Contents

module Refinery
  module Pages
    class Type

      attr_accessor :name, :parts, :template

      def parts
        @parts ||= []
      end

      def template
        @template ||= "refinery/pages/#{name}"
      end

    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
refinerycms-pages-4.0.1 lib/refinery/pages/type.rb
refinerycms-pages-3.0.6 lib/refinery/pages/type.rb
refinerycms-pages-4.0.0 lib/refinery/pages/type.rb
refinerycms-pages-3.0.5 lib/refinery/pages/type.rb
refinerycms-pages-3.0.4 lib/refinery/pages/type.rb
refinerycms-pages-3.0.3 lib/refinery/pages/type.rb
refinerycms-pages-3.0.2 lib/refinery/pages/type.rb
refinerycms-pages-3.0.1 lib/refinery/pages/type.rb
refinerycms-pages-3.0.0 lib/refinery/pages/type.rb
refinerycms-pages-2.1.5 lib/refinery/pages/type.rb
refinerycms-pages-2.1.4 lib/refinery/pages/type.rb
refinerycms-pages-2.1.3 lib/refinery/pages/type.rb
refinerycms-pages-2.1.2 lib/refinery/pages/type.rb
refinerycms-pages-2.1.1 lib/refinery/pages/type.rb
refinerycms-pages-2.1.0 lib/refinery/pages/type.rb
refinerycms-pages-2.0.10 lib/refinery/pages/type.rb
refinerycms-pages-2.0.9 lib/refinery/pages/type.rb
refinerycms-pages-2.0.8 lib/refinery/pages/type.rb
refinerycms-pages-2.0.7 lib/refinery/pages/type.rb
refinerycms-pages-2.0.6 lib/refinery/pages/type.rb