Class: Glimmer::DSL::CSS::RuleExpression
- Inherits:
-
Expression
- Object
- Expression
- Glimmer::DSL::CSS::RuleExpression
- Includes:
- ParentExpression
- Defined in:
- lib/glimmer/dsl/css/rule_expression.rb
Instance Method Summary collapse
- #can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
- #interpret(parent, keyword, *args, &block) ⇒ Object
Methods included from ParentExpression
Methods inherited from Expression
#add_content, dsl, #textual?, #widget?
Instance Method Details
#can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
11 12 13 14 15 |
# File 'lib/glimmer/dsl/css/rule_expression.rb', line 11 def can_interpret?(parent, keyword, *args, &block) parent.is_a?(Glimmer::CSS::StyleSheet) and block_given? and args.empty? end |