Method: Fastaccess::Fastaccess.options_id_for

Defined in:
lib/fastaccess/fastaccess.rb

.options_id_for(class_name, method_name) ⇒ String

creates the id for the registered_options hash

Parameters:

  • class_name (Class)

    a class singleton object

  • method_name (Symbol)

    is the identifying symbol of a method

Returns:

  • (String)

    the identifier



105
106
107
# File 'lib/fastaccess/fastaccess.rb', line 105

def self.options_id_for(class_name, method_name)
  "#{class_name}-#{method_name}"
end