class RuboCop::Cop::Style::HashAsLastArrayItem
def containing_array(hash_node)
def containing_array(hash_node) parent = hash_node.parent parent if parent&.array_type? end
def containing_array(hash_node) parent = hash_node.parent parent if parent&.array_type? end