Learn

How to Use the Each Method in Ruby

How to Use the Each Method in Ruby

When it comes to doing the same thing over and over again, Ruby has a few methods you can choose from. But in this article we’re going to look at the each method and what you can do with it.

What Is Ruby Used For?

What Is Ruby Used For?

If you hang out in any of the web development communities, there’s no way you don’t hear about the Ruby programming language. Why is that?

How To Learn Ruby

How To Learn Ruby

I first stumbled upon Ruby in 2007. All I wanted back then, was a language that I can build something cool with. I was going from knowing nothing to knowing something, so the information had to be as jargon-free as possible.

Is Ruby pass-by-reference or pass-by-value?

Is Ruby pass-by-reference or pass-by-value?

As you learn your way through Ruby’s OOP, you will eventually stumble upon the concept of object passing. It might not be very clear if Ruby uses pass-by-reference or pass-by-value to send objects to a method.