module ActiveJob::Arguments::Hash

Public Class Methods

ruby2_keywords_hash(hash) click to toggle source
# File lib/active_job/arguments.rb, line 81
def ruby2_keywords_hash(hash)
  _ruby2_keywords_hash(**hash)
end
ruby2_keywords_hash?(hash) click to toggle source
# File lib/active_job/arguments.rb, line 77
def ruby2_keywords_hash?(hash)
  !new(*[hash]).default.equal?(hash)
end

Private Class Methods

_ruby2_keywords_hash(*args) click to toggle source
# File lib/active_job/arguments.rb, line 86
def _ruby2_keywords_hash(*args)
  args.last
end