Sha256: e36666621c1cd8620803e762e8a084fa64a53cd6817874d5bfdf1c417e0c654e

Contents?: true

Size: 361 Bytes

Versions: 7

Compression:

Stored size: 361 Bytes

Contents

module Voom
  module Presenters
    module DSL
      module Components
        module Mixins
          module ExpansionPanels
            def expansion_panel(text=nil, **attributes, &block)
              self << Components::ExpansionPanel.new(parent: self, text: text, **attributes, &block)
            end
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 lib/voom/presenters/dsl/components/mixins/expansion_panels.rb
voom-presenters-2.1.0 lib/voom/presenters/dsl/components/mixins/expansion_panels.rb
voom-presenters-2.0.3 lib/voom/presenters/dsl/components/mixins/expansion_panels.rb
voom-presenters-2.0.2 lib/voom/presenters/dsl/components/mixins/expansion_panels.rb
voom-presenters-2.0.1 lib/voom/presenters/dsl/components/mixins/expansion_panels.rb
voom-presenters-2.0.0 lib/voom/presenters/dsl/components/mixins/expansion_panels.rb
voom-presenters-0.2.0 lib/voom/presenters/dsl/components/mixins/expansion_panels.rb