class RuboCop::AST::Node
def right_sibling
-
(Node, nil)
- the right (aka next) sibling
def right_sibling return unless parent parent.children[sibling_index + 1].freeze end
(Node, nil)
- the right (aka next) sibling
def right_sibling return unless parent parent.children[sibling_index + 1].freeze end