class Array
Monkey patches for the ruby Array
Public Instance Methods
extract_options!()
click to toggle source
Extract the last argument if it is a hash
@return [Hash]
# File lib/sidekiq_unique_jobs/core_ext.rb, line 124 def extract_options! if last.is_a?(Hash) && last.instance_of?(Hash) pop else {} end end