Sha256: d7ba44277d3b36fa7f1d67b321799eedae268c8f82d23ee16975cd4afd8c8f4f

Contents?: true

Size: 342 Bytes

Versions: 15

Compression:

Stored size: 342 Bytes

Contents

module Voom
  module Presenters
    module DSL
      module Components
        module Mixins
          module Append

            def <<(comp)
              @components << comp
            end

            def yield_to(&block)
              instance_eval(&block) if block
            end
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
voom-presenters-0.2.0 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.13 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.12 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.11 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.10 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.9 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.8 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.7 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.6 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.5 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.4 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.3 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.2 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.1 lib/voom/presenters/dsl/components/mixins/append.rb
voom-presenters-0.1.0 lib/voom/presenters/dsl/components/mixins/append.rb