Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to Use The Ruby Alias Keyword

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 :)



This post first appeared on Black Bytes, please read the originial post: here

Share the post

How to Use The Ruby Alias Keyword

×

Subscribe to Black Bytes

Get updates delivered right to your inbox!

Thank you for your subscription

×