Welcome to mirror list, hosted at ThFree Co, Russian Federation.

filterable_array.rb « graphql « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 12cb2aa3d15035169d997af45726a2d3765edb88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Gitlab
  module Graphql
    class FilterableArray < Array
      attr_reader :filter_callback

      def initialize(filter_callback)
        @filter_callback = filter_callback
      end
    end
  end
end