News


Ruby adds experimental support for end-less method definition
Ruby has added a new method definition syntax as an experimental feature.As to why:Ruby syntax is full of “end”s. I’m paranoid that the ends end Ruby. I hope Ruby is endless. So, I’d like to propose a new method definition syntax.- mame (Yusuke En...





Predicting the Future With Linear Regression in Ruby
The world is full of linear relationships. When one apple costs $1 and two apples cost $2, it's easy to figure out the price of any number of apples. But what happens when you have 100s of data points? What if your data source is noisy? That's whe...



`obj.method_name` vs `class << obj`: The Real Difference.
I was looking at some answers on StackOverflow for the difference between Ruby’s self.method_name and class << self. I wasn’t satisfied with the answers. While all the answers did very well at explaining object.method_name and class << object, I f...