Method: YARD::Docstring#line_range

Defined in:
lib/yard/docstring.rb

#line_rangeRange

Returns line range in the #object‘s file where the docstring was parsed from.

Returns:

  • (Range)

    line range in the #object‘s file where the docstring was parsed from

[View source]

23
24
25
# File 'lib/yard/docstring.rb', line 23

def line_range
  @line_range
end