Category Archives: Ruby

Ruby programming language related content

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: s = ” # s.is_a? String, this … Continue reading

Posted in metaprogramming, Ruby | Tagged , , | Leave a comment

Ruby dynamic method calling

I’m pretty sure that you have heard lots about ruby, specially as being a dynamic language, you can create methods on the fly, add instance variables, define constants and invoke existing methods dynamically , and that’s what this post is … Continue reading

Posted in metaprogramming, Ruby | Tagged , , | 17 Comments

Ruby introspection

Hi, this is my first blog post!, i’m already done of reading this artilce on groovy’s lang introspection , and i wanted to submit the equivalent one for ruby, so all you need now is to fire your irb and … Continue reading

Posted in metaprogramming, Ruby | Tagged , , | 1 Comment