module RuboCop::AST::Ext::Range

def line_span(exclude_end: false)

Returns:
  • (Range) - the range of line numbers for the node
def line_span(exclude_end: false)
  ::Range.new(first_line, last_line, exclude_end)
end