Method: YARD::Parser::Ruby::AstNode#inspect
- Defined in:
- lib/yard/parser/ruby/ast_node.rb
permalink #inspect ⇒ String
Returns inspects the object.
322 323 324 325 |
# File 'lib/yard/parser/ruby/ast_node.rb', line 322 def inspect typeinfo = type && type != :list ? ':' + type.to_s + ', ' : '' 's(' + typeinfo + map(&:inspect).join(", ") + ')' end |