Sha256: 1edad8480db5bee42298f2aef88975364384d5be3f15b5263f0b0ebe7014968c
Contents?: true
Size: 304 Bytes
Versions: 30
Compression:
Stored size: 304 Bytes
Contents
module Kuhsaft class AnchorBrick < Brick attr_accessible :caption validates :caption, :presence => true def user_can_add_childs? false end def collect_fulltext [super, caption].join(' ') end def to_id "anchor-#{caption.parameterize}" end end end
Version data entries
30 entries across 30 versions & 1 rubygems