Sha256: 794a2dcd2bf72b2b52036d792a7693efa1e1d1d837601440a20a152afd788412
Contents?: true
Size: 379 Bytes
Versions: 24
Compression:
Stored size: 379 Bytes
Contents
module Kuhsaft class AccordionBrick < ColumnBrick attr_accessible :caption validates :caption, :presence => true # TODO: validate only accept AccordionItem as child def user_can_delete? true end def to_style_class [super, 'accordion'].join(' ') end def allowed_brick_types %w(Kuhsaft::AccordionItemBrick) end end end
Version data entries
24 entries across 24 versions & 1 rubygems