Sha256: 81616bc4be33e9537be8acddaa822896151f9760175e349b86fd800fd47a0af3
Contents?: true
Size: 495 Bytes
Versions: 13
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true module RuboCop module AST # A node extension for `forward-args` nodes. This will be used in place # of a plain node when the builder constructs the AST, making its methods # available to all `forward-args` nodes within RuboCop. class ForwardArgsNode < Node include CollectionNode # Node wraps itself in an array to be compatible with other # enumerable argument types. def to_a [self] end end end end
Version data entries
13 entries across 12 versions & 4 rubygems