Class: Glimmer::DSL::XML::HtmlExpression

Inherits:
StaticExpression
  • Object
show all
Includes:
NodeParentExpression, TopLevelExpression
Defined in:
lib/glimmer/dsl/xml/html_expression.rb

Overview

This static html expression flips the DSL switch on for XML DSL in Glimmer

Instance Method Summary collapse

Methods included from NodeParentExpression

#add_content

Instance Method Details

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



36
37
38
# File 'lib/glimmer/dsl/xml/html_expression.rb', line 36

def interpret(parent, keyword, *args, &block)
  Glimmer::XML::HtmlNode.new(parent, keyword.to_s, args, &block)
end