You can give an alternative name to a Ruby method in two ways: Alias (keyword) alias_method Because they do the same thing in slightly different ways this can be a confusing topic. Let’s explore the differences! The Alias Keyword First we have alias, which is a Ruby keyword (like if, def, class, etc.) It looks […]
The post How to Use The Ruby Alias Keyword appeared first on RubyGuides. Don't miss your free gift here :)