Sha256: 420feadd531d9d53b5e113cca44e6324bba4b137b98fffbd863e9163aac98205

Contents?: true

Size: 410 Bytes

Versions: 6

Compression:

Stored size: 410 Bytes

Contents

module Voom
  module Presenters
    module DSL
      module Components
        module Mixins
          module Chips
            include Mixins::Append

            def chip(text= nil, **attribs, &block)
              self << Components::Chip.new(parent: self, text: text,
                                                 **attribs, &block)
            end
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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