Class: Glimmer::DSL::CSS::PVExpression

Inherits:
StaticExpression show all
Includes:
PropertyExpression
Defined in:
lib/glimmer/dsl/css/pv_expression.rb

Overview

Static keyword ‘pv’ version of CSS DSL dynamic property expression

Instance Method Summary collapse

Methods included from PropertyExpression

#can_interpret?

Methods included from ParentExpression

#add_content

Methods inherited from StaticExpression

#can_interpret?, inherited, keyword

Methods inherited from Expression

#add_content, #can_interpret?, dsl, #textual?, #widget?

Instance Method Details

#interpret(parent, keyword, *args, &block) ⇒ Object



11
12
13
# File 'lib/glimmer/dsl/css/pv_expression.rb', line 11

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