Ruby's open classes are both powerful, and a fertile ground for creating technical debt. In part 2 of 2, rejoin guest chef Jordan Raine to discover how to *responsibly* monkey-patch …
Tag: metaprogramming

Episode #562
Explore and Extend – Part 1
Sometimes a 3rd-party library or framework doesn't work quite the way you need. Join guest chef Jordan Raine to learn how to interactively explore library code until you find the …

Episode #561
Building a REPL
Join guest chef Adam Fernung to build a simple Ruby REPL---and in the process, learn how the Binding class enables dynamic reflection of the current variable scope!

Episode #456: Singleton Class Exec
In order to truly understand Ruby's object model, we must learn to see the singleton classes.

Episode #451: Advanced Class Membership
How to check class of uncooperative, or outright dishonest Ruby objects.
Episode #450: Class Membership
What's the best way to ask a Ruby object what class it belongs to?

Episode #444: Block Inherited
Learning the rules of Ruby's inheritance callbacks, in order to do defensive metaprogramming.

Episode #439: Method Search
Introspecting Ruby to find all all implementations of a method.

Episode #265: Method Introspection with Noah Gibbs
Noah Gibbs joins us this week, to show us how we can find out all about ruby methods just by asking them.