Sha256: ae2d431ab08eaed33d3fdbd5c744d177b31dd7ae30900ecf89f0f064c77adc8a

Contents?: true

Size: 247 Bytes

Versions: 43

Compression:

Stored size: 247 Bytes

Contents

require 'glimmer/error'

module Glimmer
  module DSL
    # Mixin that represents expressions that always have a content block
    module ParentExpression
      def add_content(parent, &block)
        block.call(parent)
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
glimmer-0.10.4 lib/glimmer/dsl/parent_expression.rb
glimmer-0.10.3 lib/glimmer/dsl/parent_expression.rb
glimmer-0.10.2 lib/glimmer/dsl/parent_expression.rb
glimmer-0.10.1 lib/glimmer/dsl/parent_expression.rb
glimmer-0.10.0 lib/glimmer/dsl/parent_expression.rb
glimmer-0.9.5 lib/glimmer/dsl/parent_expression.rb
glimmer-0.9.4 lib/glimmer/dsl/parent_expression.rb
glimmer-0.9.3 lib/glimmer/dsl/parent_expression.rb
glimmer-dsl-opal-0.0.7 lib/glimmer/dsl/parent_expression.rb
glimmer-dsl-opal-0.0.6 lib/glimmer/dsl/parent_expression.rb
glimmer-dsl-opal-0.0.5 lib/glimmer/dsl/parent_expression.rb
glimmer-dsl-opal-0.0.4 lib/glimmer/dsl/parent_expression.rb
glimmer-dsl-opal-0.0.3 lib/glimmer/dsl/parent_expression.rb
glimmer-0.9.2 lib/glimmer/dsl/parent_expression.rb
glimmer-dsl-opal-0.0.2 lib/glimmer/dsl/parent_expression.rb
glimmer-0.9.1 lib/glimmer/dsl/parent_expression.rb
glimmer-dsl-css-0.1.0 lib/glimmer/dsl/parent_expression.rb
glimmer-dsl-opal-0.0.1 lib/glimmer/dsl/parent_expression.rb
glimmer-0.9.0 lib/glimmer/dsl/parent_expression.rb
glimmer-0.8.2 lib/glimmer/dsl/parent_expression.rb