class Array
Monkey patches for the ruby Array
Public Instance Methods
Source
# 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
Extract the last argument if it is a hash
@return [Hash]