Class: SyntaxTree::ERB::ErbElsif

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



418
419
420
# File 'lib/syntax_tree/erb/nodes.rb', line 418

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