Method: RuboCop::Cop::InternalAffairs::NodeDestructuring#node_destructuring?

Defined in:
lib/rubocop/cop/internal_affairs/node_destructuring.rb

#node_destructuring?(node) ⇒ Object



28
29
30
# File 'lib/rubocop/cop/internal_affairs/node_destructuring.rb', line 28

def_node_matcher :node_destructuring?, "{(masgn (mlhs ...) {(send #node_variable? :children) (array (splat #node_variable?))})}\n"