Sha256: 3817a909ec00ee23f473007bde0390ffdd443cf725720e7f13d01cf460c71c14

Contents?: true

Size: 298 Bytes

Versions: 11

Compression:

Stored size: 298 Bytes

Contents

module Kuhsaft
  class PlaceholderBrick < Brick
    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

11 entries across 11 versions & 1 rubygems

Version Path
kuhsaft-2.2.6 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.2.5 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.2.4 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.2.3 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.2.2 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.2.1 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.2.0 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.1.2 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.1.1 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.1.0 app/models/kuhsaft/placeholder_brick.rb
kuhsaft-2.0.3 app/models/kuhsaft/placeholder_brick.rb