Ruby: watching method (re)definition in runtime

Posted by artemave on Stack Overflow See other posts from Stack Overflow or by artemave
Published on 2010-03-22T13:10:59Z Indexed on 2010/03/22 13:21 UTC
Read the original article Hit count: 487

Filed under:
|

I'm looking for a way (library or metaprogramming trick) to hook into method definition, so that I could extend certain classes and catch their method (re)definition "events".

© Stack Overflow or respective owner

Related posts about ruby

Related posts about ruby-on-rails