Flowdock
new_alias_name(name, prefix = "__alias_of__", postfix = "__") public

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
Show source
Register or log in to add new notes.