Sha256: 8dd8355a7e7d13dd3ad6f71493acfd6aafca2c1cd12f46ce75bafa29bc44f3c9

Contents?: true

Size: 619 Bytes

Versions: 10

Compression:

Stored size: 619 Bytes

Contents

# frozen_string_literal: true

module Attr
  module Gather
    module Filters
      # Information about a filtered item
      #
      # @!attribute [r] path
      #   @return [Hash] path of the filtered key
      #
      # @!attribute [r] reason
      #   @return [String] why the item was filtered
      #
      # @!attribute [r] input
      #   @return [String] input value that was filtered
      class Filtering
        attr_reader :path, :reason, :input

        def initialize(path, reason, input)
          @path = path
          @reason = reason
          @input = input
        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/filtering.rb
attr-gather-1.4.0 lib/attr/gather/filters/filtering.rb
attr-gather-1.2.1 lib/attr/gather/filters/filtering.rb
attr-gather-1.3.0 lib/attr/gather/filters/filtering.rb
attr-gather-1.2.0 lib/attr/gather/filters/filtering.rb
attr-gather-1.1.3 lib/attr/gather/filters/filtering.rb
attr-gather-1.1.2 lib/attr/gather/filters/filtering.rb
attr-gather-1.1.1 lib/attr/gather/filters/filtering.rb
attr-gather-1.1.0 lib/attr/gather/filters/filtering.rb
attr-gather-1.0.0 lib/attr/gather/filters/filtering.rb