Ruby introspection 2

I wanted to start blogging on ruby reflection api, but i just realized that i have to give a second part of my previous article on ruby introspection .
So here we go:

Also i strongly recommend that you look at the ObjectSpace module which contains a number of routines that interact with the garbage collection facility and allow you to traverse all living objects with an iterator, however this is a little example taken from the official api documentation :

Also if you feel like you are eager to see low level introspection , then check this great post.

In my next article, am going to blog on ruby reflection api , hope to finish it soon 😉

One Reply to “Ruby introspection 2”

  1. I see your blog needs some fresh & unique articles.
    Writing manually is time consuming, but there is tool for this task.
    Just search in gooogle for: Avurker’s essential tools

Leave a Reply

Your email address will not be published. Required fields are marked *