Module: RuboCop::AST::CollectionNode

Extended by:
Forwardable
Included in:
ArgsNode, ForwardArgsNode
Defined in:
lib/rubocop/ast/node/mixin/collection_node.rb

Overview

A mixin that helps give collection nodes array polymorphism.

Constant Summary collapse

ARRAY_METHODS =
(Array.instance_methods - Object.instance_methods - [:to_a]).freeze