Class: SyntaxTree::ERB::ErbEnd

Inherits:
ErbNode show all
Defined in:
lib/syntax_tree/erb/nodes.rb

Instance Attribute Summary

Attributes inherited from ErbNode

#closing_tag, #content, #keyword, #location, #opening_tag

Instance Method Summary collapse

Methods inherited from ErbNode

#deconstruct_keys, #initialize

Methods inherited from Node

#format, #pretty_print

Constructor Details

This class inherits a constructor from SyntaxTree::ERB::ErbNode

Instance Method Details

#accept(visitor) ⇒ Object



330
331
332
# File 'lib/syntax_tree/erb/nodes.rb', line 330

def accept(visitor)
  visitor.visit_erb_end(self)
end

#child_nodesObject Also known as: deconstruct



334
335
336
# File 'lib/syntax_tree/erb/nodes.rb', line 334

def child_nodes
  []
end