Class: Glimmer::DSL::CSS::ElementRuleExpression
- Inherits:
-
Expression
- Object
- Expression
- Glimmer::DSL::CSS::ElementRuleExpression
- Includes:
- ParentExpression
- Defined in:
- lib/glimmer/dsl/css/element_rule_expression.rb
Instance Method Summary collapse
- #can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
- #interpret(parent, keyword, *args, &block) ⇒ Object
Instance Method Details
#can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
33 34 35 36 37 |
# File 'lib/glimmer/dsl/css/element_rule_expression.rb', line 33 def can_interpret?(parent, keyword, *args, &block) block_given? and args.empty? and parent.is_a?(Glimmer::CSS::StyleSheet) end |