34,333
edits
Changes
→Ruby Method Aliases
== Ruby Method Aliases ==
Ruby allows a method to be aliased, thereby creating a copy of a method with a different name (although invoking the method with either name ultimately calls the same object). For example:
<pre>