class RuboCop::Cop::Performance::AncestorsInclude
def range(node)
def range(node) location_of_ancestors = node.children[0].loc.selector.begin_pos end_location = node.loc.selector.end_pos range_between(location_of_ancestors, end_location) end
def range(node) location_of_ancestors = node.children[0].loc.selector.begin_pos end_location = node.loc.selector.end_pos range_between(location_of_ancestors, end_location) end