1 2 3 4 5 6 7 8 9 10 11 12 13 14
# frozen_string_literal: true module Gitlab module Graphql class FilterableArray < Array attr_reader :filter_callback def initialize(filter_callback, *args) super(args) @filter_callback = filter_callback end end end end