Class: SyntaxTree::ERB::ErbElse

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

Instance Attribute Summary

Attributes inherited from Block

#closing, #elements, #location, #opening

Instance Method Summary collapse

Methods inherited from Block

#child_nodes, #deconstruct_keys, #initialize, #new_line, #without_new_line

Methods inherited from Node

#format, #pretty_print, #skip?, #without_new_line

Constructor Details

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

Instance Method Details

#accept(visitor) ⇒ Object



424
425
426
# File 'lib/syntax_tree/erb/nodes.rb', line 424

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