class Warden::Proxy

def _retrieve_scope_and_opts(args) #:nodoc:

Experimental RBS support (using type sampling data from the type_fusion project).

def _retrieve_scope_and_opts: (Array[Hash, scope, Symbol] args) -> untyped

This signature was generated using 1 sample from 1 application.

:nodoc:
def _retrieve_scope_and_opts(args) #:nodoc:
  opts  = args.last.is_a?(Hash) ? args.pop : {}
  scope = opts[:scope] || @config.default_scope
  opts  = (@config[:scope_defaults][scope] || {}).merge(opts)
  [scope, opts]
end