new_alias_name(name, prefix = "__alias_of__", postfix = "__")
Instance Public methods
Returns a unique method name to use as an alias for the given
name
.
Usually returns #{prefix}#{name}#{postfix}<num>
,
example:
new_alias_name('foo') #=> __alias_of__foo__ def bar; end new_alias_name('bar') #=> __alias_of__bar__2
Please login to continue.