lib/rubocop/ast/node/for_node.rb in rubocop-0.52.1 vs lib/rubocop/ast/node/for_node.rb in rubocop-0.53.0
- old
+ new
@@ -46,16 +46,8 @@
#
# @return [Node, nil] The body of the `for` loop.
def body
node_parts[2]
end
-
- # Custom destructuring method. This can be used to normalize
- # destructuring for different variations of the node.
- #
- # @return [Array<Node>] the different parts of the `until` statement
- def node_parts
- to_a
- end
end
end
end