Sha256: ae631934f14a9aa2fe677bce5b756e5da96d9caa8e98a564273d26eb54c7184d

Contents?: true

Size: 427 Bytes

Versions: 14

Compression:

Stored size: 427 Bytes

Contents

require 'glimmer/dsl/static_expression'
require 'glimmer/dsl/css/property_expression'

module Glimmer
  module DSL
    module CSS
      # Static keyword 'pv' version of CSS DSL dynamic property expression
      class PVExpression < StaticExpression
        include PropertyExpression

        def interpret(parent, keyword, *args, &block)
          parent.add_property(args[0], args[1])
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
glimmer-dsl-css-0.2.0 lib/glimmer/dsl/css/pv_expression.rb
glimmer-dsl-css-0.1.0 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.8.2 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.8.1 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.8.0 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.7.8 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.7.7 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.7.6 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.7.5 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.7.4 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.7.3 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.7.2 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.7.1 lib/glimmer/dsl/css/pv_expression.rb
glimmer-0.7.0 lib/glimmer/dsl/css/pv_expression.rb