Class: YARD::Parser::Ruby::ReferenceNode

Inherits:
AstNode show all
Defined in:
lib/yard/parser/ruby/ast_node.rb

Managing node state collapse

Constructor Details

This class inherits a constructor from YARD::Parser::Ruby::AstNode

Instance Method Details

#namespaceObject



365
366
367
# File 'lib/yard/parser/ruby/ast_node.rb', line 365

def namespace
  Array.new flatten[0...-1]
end

#pathObject



361
362
363
# File 'lib/yard/parser/ruby/ast_node.rb', line 361

def path
  Array.new flatten
end

#ref?Boolean

Returns:

  • (Boolean)


359
# File 'lib/yard/parser/ruby/ast_node.rb', line 359

def ref?; true end