Sha256: cbd076549e60a7b983c911cb0ec7bbda37ce66c0e6fefb191c53e9b4338d5c65

Contents?: true

Size: 248 Bytes

Versions: 16

Compression:

Stored size: 248 Bytes

Contents

module Qbrick
  class AccordionBrick < ColumnBrick
    def user_can_delete?
      true
    end

    def to_style_class
      [super, 'accordion'].join(' ')
    end

    def allowed_brick_types
      %w(Qbrick::AccordionItemBrick)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 app/models/qbrick/accordion_brick.rb
qbrick-2.7 app/models/qbrick/accordion_brick.rb
qbrick-2.6.10 app/models/qbrick/accordion_brick.rb
qbrick-2.6.9 app/models/qbrick/accordion_brick.rb
qbrick-2.6.8 app/models/qbrick/accordion_brick.rb
qbrick-2.6.7 app/models/qbrick/accordion_brick.rb
qbrick-2.6.6 app/models/qbrick/accordion_brick.rb
qbrick-2.6.5 app/models/qbrick/accordion_brick.rb
qbrick-2.6.4 app/models/qbrick/accordion_brick.rb
qbrick-2.6.3 app/models/qbrick/accordion_brick.rb
qbrick-2.6.2 app/models/qbrick/accordion_brick.rb
qbrick-2.6.1 app/models/qbrick/accordion_brick.rb
qbrick-2.6.0 app/models/qbrick/accordion_brick.rb
qbrick-2.5.2 app/models/qbrick/accordion_brick.rb
qbrick-2.5.1 app/models/qbrick/accordion_brick.rb
qbrick-2.5.0 app/models/qbrick/accordion_brick.rb