How to locate the source of a Ruby method
UPDATE Jun 10, 2024: Modify the article to account for Ruby 3.3 adding default location for eval’d methods. “Wait, where the hell is this method coming from??”” One of Ruby’s strengths is how h...
UPDATE Jun 10, 2024: Modify the article to account for Ruby 3.3 adding default location for eval’d methods. “Wait, where the hell is this method coming from??”” One of Ruby’s strengths is how h...
Let’s say you wish to conditionally define a local variable in Ruby. Why would you need that? That’s beside the point, it’s mostly a thought excercise that’s an excuse to learn about a specific cor...
Preface: I wrote this post for the Silverfin engineering blog and replicated it here on my personal blog with permission. “90% what?” “I said this table is at 90%.” “Of what?” “Of int values for i...