Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/sidekiq_unique_jobs/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#extract_options!Object


47
48
49
50
51
52
53
# File 'lib/sidekiq_unique_jobs/core_ext.rb', line 47

def extract_options!
  if last.is_a?(Hash) && last.instance_of?(Hash)
    pop
  else
    {}
  end
end