Method: Fastaccess::Fastaccess.alias_for

Defined in:
lib/fastaccess/fastaccess.rb

.alias_for(method) ⇒ Symbol

returns the aliased name for any given method.

Parameters:

  • method (Symbol)

    a symbol denoting the method.

Returns:

  • (Symbol)

    aliased method symbol.



113
114
115
# File 'lib/fastaccess/fastaccess.rb', line 113

def self.alias_for(method)
  :"aliased_#{method}"
end