in ,

🧑🏻‍💻 TechAcademy | Active engineers explain how to use concat in Ruby [For beginners]

An active engineer explains how to use concat in Ruby [for beginners]

TechAcademy's mentor (active engineer) will explain how to use concat in Ruby for beginners using actual code.

If you don't understand Ruby at all, I explained what Ruby is.Read the article for a better understanding.

 

This article is based on the content of Tech Academy's online boot camp and Ruby course.

 

What is concat

You can concat strings and array objects by using the concat method. The concat method returns the result of combining the objects.Please note that the bond is destructively connected. It is almost equivalent to the "+" operator and can be substituted.

However, note that the "<<" operator produces slightly different results for arrays.In the array object, "<<…

→See more in Tech Tech Magazine