Sha256: 9cc49e9b985fec5b2b078ae73549f871dbc9b3eb812f0a5ad9d1ab3054090605

Contents?: true

Size: 334 Bytes

Versions: 33

Compression:

Stored size: 334 Bytes

Contents

module Kuhsaft
  class PlaceholderBrick < Brick

    attr_accessible :template_name
    PARTIAL_PATH = '/app/views/kuhsaft/placeholder_bricks/partials/_*.haml'

    def self.available_partials
      @partials ||= Kuhsaft::PartialExtractor.new.partials(PARTIAL_PATH)
    end

    def user_can_add_childs?
      false
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
kuhsaft-1.2.12 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.11 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.10 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.9 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.8 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.7 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.6 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.5 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.4 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.3 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.2 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.1 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.0 app/models/kuhsaft/placeholder_brick.rb