Method: AST::Node#type

Defined in:
lib/ast/node.rb

#typeSymbol (readonly)

Returns the type of this node.

Returns:

  • (Symbol)


43
44
45
# File 'lib/ast/node.rb', line 43

def type
  @type
end