Sha256: d8a5305fd69f2d67d05ba2a4605adcbd1204864c01a2524b2f1f8b3dbee87098

Contents?: true

Size: 508 Bytes

Versions: 10

Compression:

Stored size: 508 Bytes

Contents

# frozen_string_literal: true

module Attr
  module Gather
    module Filters
      # Result of a filter
      #
      # @!attribute [r] value
      #   @return [Hash] the filtered hash
      #
      # @!attribute [r] filterings
      #   @return [Array<Attr::Gather::Filtering>] info about filtered items
      class Result
        attr_reader :value, :filterings

        def initialize(value, filterings)
          @value = value
          @filterings = filterings
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
attr-gather-1.5.1 lib/attr/gather/filters/result.rb
attr-gather-1.4.0 lib/attr/gather/filters/result.rb
attr-gather-1.2.1 lib/attr/gather/filters/result.rb
attr-gather-1.3.0 lib/attr/gather/filters/result.rb
attr-gather-1.2.0 lib/attr/gather/filters/result.rb
attr-gather-1.1.3 lib/attr/gather/filters/result.rb
attr-gather-1.1.2 lib/attr/gather/filters/result.rb
attr-gather-1.1.1 lib/attr/gather/filters/result.rb
attr-gather-1.1.0 lib/attr/gather/filters/result.rb
attr-gather-1.0.0 lib/attr/gather/filters/result.rb