Ruby

Ruby
What Is a Ruby Reducer?

What Is a Ruby Reducer?

Jul 7, 2018 - 3 min read

The term comes from the world of functional programming, and it’s often paired with map. You’ve probably heard the term map/reduce if you’ve been in the programming world for more than a few months....

Learn How to Use Ruby Arrays in Less Than 10 Minutes

Learn How to Use Ruby Arrays in Less Than 10 Minutes

Jul 3, 2018 - 9 min read

Arrays are probably the most popular data structure you’re going to use in Ruby. Learn what you can do with them and how to use them effectively....

How to Use the Each Method in Ruby

How to Use the Each Method in Ruby

Jul 2, 2018 - 6 min read

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?

Jul 1, 2018 - 3 min read

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?...

Understanding Boolean Operator Precedence in Ruby (&&, and, ||, or)

Understanding Boolean Operator Precedence in Ruby (&&, and, ||, or)

Jun 30, 2018 - 3 min read

Operator precedence might be one of the most confusing parts of the Ruby language. Even the docs recommend you just use && and ||....

How To Learn Ruby

How To Learn Ruby

Jun 29, 2018 - 6 min read

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...

How to Write a Case Expression in Ruby

How to Write a Case Expression in Ruby

Jun 28, 2018 - 5 min read

Ruby uses the case for writing switch statements. Learn how case works and how you can use it....

Ruby’s attr_accessor, attr_reader and attr_writer

Ruby’s attr_accessor, attr_reader and attr_writer

Jun 27, 2018 - 4 min read

A Ruby object has its methods public by default, but its data is private. So if you need to access the data, for either reading or writing, you need to make it public somehow....

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

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

Jun 26, 2018 - 3 min read

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...

STAY IN THE KNOW

Get exclusive content (tips & tricks, discounts, exchange ideas, etc.) that you cannot find on the blog.
    We won't send you spam. Unsubscribe at any time.
    Built with ConvertKit