Hacker News new | ask | show | jobs
by flippinburgers 1064 days ago
Is this what passes for an article about metaprogramming in ruby?

Using send is extremely common especially when mocking private methods in rspec. I guess I am speaking from a rails lense, but what other lense is there for ruby development?

I am forever stuck in a world where "articles" aren't something you read in less than a minute.

1 comments

Metaprogramming Ruby by Paolo Perrotta is an awesome in-depth resource in comparison. It’s a bit outdated but the base of metaprogramming magic in Ruby hasn’t changed much in 3.0+