Sha256: 8f607dc29860aee9de13a0fad63836ba3464044b0d9beee6a0b72713ffa773e5
Contents?: true
Size: 338 Bytes
Versions: 6861
Compression:
Stored size: 338 Bytes
Contents
# frozen_string_literal: true module RuboCop module AST # A mixin that helps give collection nodes array polymorphism. module CollectionNode extend Forwardable ARRAY_METHODS = (Array.instance_methods - Object.instance_methods - [:to_a]).freeze def_delegators :to_a, *ARRAY_METHODS end end end
Version data entries
6,861 entries across 6,835 versions & 30 rubygems