Method: YARD::Parser::Ruby::AstNode#line
- Defined in:
- lib/yard/parser/ruby/ast_node.rb
#line ⇒ Fixnum
Returns the starting line number of the node.
270 271 272 |
# File 'lib/yard/parser/ruby/ast_node.rb', line 270 def line line_range && line_range.first end |