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.8.6 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.8.5 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.0.2 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.8.4 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.8.1 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.0.1 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.0.0 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.8.0 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.7.1 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.7.0 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.6.0 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.5.0 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.4.3 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.4.2 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.4.1 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.4.0 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.3.1 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.15 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.14 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-1.2.13 app/models/kuhsaft/placeholder_brick.rb