Method: YARD::Parser::Ruby::AstNode#show

Defined in:
lib/yard/parser/ruby/ast_node.rb

#showString

Returns the first line of source the node represents.

Returns:

  • (String)

    the first line of source the node represents

[View source]

282
283
284
# File 'lib/yard/parser/ruby/ast_node.rb', line 282

def show
  "\t#{line}: #{first_line}"
end