Sha256: e5b725bbeeea2027495b45decc77f5c52bd55ac22e27c53d36fc87e561a71159

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

module Normalizy
  module Filters
    module Blacklist2
      def self.call(_input, options = {})
        attribute = options[:attribute]

        "#{attribute}: #{options[:object].send(attribute)}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
normalizy-0.2.0 spec/support/filters/blacklist_2.rb