Sha256: 1f66600e96c7801181d07c32a9cb5d2a5085ef33f7431f6e6ef6178617596183

Contents?: true

Size: 224 Bytes

Versions: 22

Compression:

Stored size: 224 Bytes

Contents

module Kuhsaft
  class TextBrick < Brick
    attr_accessible :text, :read_more_text

    def user_can_add_childs?
      false
    end

    def collect_fulltext
      [super, text, read_more_text].join(' ')
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
kuhsaft-1.2.1 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.0 app/models/kuhsaft/text_brick.rb