Class: Glimmer::DSL::Web::FormattingElementExpression
- Inherits:
-
Expression
- Object
- Expression
- Glimmer::DSL::Web::FormattingElementExpression
- Defined in:
- lib/glimmer/dsl/web/formatting_element_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
9 10 11 |
# File 'lib/glimmer/dsl/web/formatting_element_expression.rb', line 9 def can_interpret?(parent, keyword, *args, &block) Glimmer::Web::FormattingElementProxy.keyword_supported?(keyword, parent: parent) end |
#interpret(parent, keyword, *args, &block) ⇒ Object
13 14 15 |
# File 'lib/glimmer/dsl/web/formatting_element_expression.rb', line 13 def interpret(parent, keyword, *args, &block) Glimmer::Web::FormattingElementProxy.format(keyword, *args, &block) end |