Videos tagged with hook


Ruby Metaprogramming Episode 7: More Hook Methods

Ruby Metaprogramming Episode 7: More Hook Methods

Posted in Development

We’ll pick up where we left off in the last episode by looking at two more Ruby hook methods: included and method_added. But we’ll also take it a step further. We’ll use these hook methods to develop a metaprogramming library that traces the execution of a Ruby program. Along the way we’ll see all the various subtle (and important!) things you need to think about when yo...

Tags: Ruby, Metaprogramming, The Pragmatic Programmers, Ruby Metaprogramming, hook