More about how to create a Data class in Ruby
Learn to create Ruby Data classes using block syntax and inheritance, and understand their differences and use cases

Search for a command to run...
Articles tagged with #coding
Learn to create Ruby Data classes using block syntax and inheritance, and understand their differences and use cases

Last week, I wrote an article about how to create value objects in Ruby - the idiomatic way. This week, I will share some real examples of using the data object to show some real examples. Remove boilerplate constructor code If you are defining class...

The hash literal value omission was added to Ruby version 3.1 in 2021. This is the feature proposal that describes the feature request and the one that was implemented. What does it mean? Hash literal value omission (or hash value omission) means tha...

An overview of the endless method in Ruby programming

As Ruby 3.3 is around the corner, I suggest a list of recommended articles or videos to watch to get up to date with Ruby's evaluation as a language. This is a partial list of some of the things happening in Ruby. Still, I think it is an excellent st...

Understanding the `it` default block parameter warning in Ruby 3.3 RC1
