Sha256: 0ecea424c9d384cf467a320b7fc1645a6b825ee46645ce23834ae6d9ca21fd3d
Contents?: true
Size: 304 Bytes
Versions: 6
Compression:
Stored size: 304 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 end end
Version data entries
6 entries across 6 versions & 1 rubygems