Sha256: 6e7dc537afde6b69c0503facce65769316e073f8c2b88b630137e701f68947bc
Contents?: true
Size: 385 Bytes
Versions: 6
Compression:
Stored size: 385 Bytes
Contents
module Sidekiq module Logstash class Configuration attr_accessor :custom_options, :filter_args def initialize @filter_args = [] end # Added to ensure custom_options is a Proc def custom_options=(proc) raise ArgumentError, 'Argument must be a Proc.' unless proc.is_a?(Proc) @custom_options = proc end end end end
Version data entries
6 entries across 6 versions & 1 rubygems