Module: Sidekiq::Symbols::Symbolizer

Defined in:
lib/sidekiq/symbols.rb

Instance Method Summary collapse

Instance Method Details

#perform(*args) ⇒ Object



10
11
12
13
14
15
16
17
18
19
# File 'lib/sidekiq/symbols.rb', line 10

def perform(*args)
  symbolized_args = args.map do |arg|
    if __sidekiq_symbols_should_process?(arg)
      __sidekiq_symbols_symbolize_keys(arg)
    else
      arg
    end
  end.to_a
  super(*symbolized_args)
end