Class: Glimmer::DSL::CSS::RawExpression
- Inherits:
-
StaticExpression
- Object
- StaticExpression
- Glimmer::DSL::CSS::RawExpression
- Defined in:
- lib/glimmer/dsl/css/raw_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
29 30 31 32 33 34 |
# File 'lib/glimmer/dsl/css/raw_expression.rb', line 29 def can_interpret?(parent, keyword, *args, &block) !block_given? and !args.empty? and args.size == 1 and parent.is_a?(Glimmer::CSS::StyleSheet) end |