Method: Fastaccess::Fastaccess.options_for

Defined in:
lib/fastaccess/fastaccess.rb

.options_for(class_name, method_name) ⇒ Hash

gets the options for a class_name, method_name pair

Parameters:

  • class_name (Class)

    is the actual Class.

  • method_name (Symbol)

    is the symbol denoting the actual method

Returns:

  • (Hash)

    the options for the pair



58
59
60
61
# File 'lib/fastaccess/fastaccess.rb', line 58

def self.options_for(class_name, method_name)
  id = options_id_for(class_name, method_name)
  self.registered_options[id]
end