class RuboCop::Cop::Metrics::CollectionLiteralLength
def on_index(node)
def on_index(node) add_offense(node) if node.arguments.length >= collection_threshold end
def on_index(node) add_offense(node) if node.arguments.length >= collection_threshold end