Tag Archives: Ruby

The power of JRuby

It’s true that I’m not the qualified guy to talk about Java’s power,as it has been 2 years since i last practiced it, but i feel like i have to communicate my thoughts to the people that didn’t give JRuby … Continue reading

Posted in Java, JRuby, Ruby | Tagged , , | 28 Comments

Ruby symbols

I keep seeing many programmers from different backgrounds are unable to get what Ruby symbols are, and though I do know that there are many great posts regarding this topic, and actually my intent is not to increase them by … Continue reading

Posted in Ruby | Tagged , | 76 Comments

Ruby and Internal DSLs

A Domain-specific language(DSL) is a computer language that’s targeted to a particular kind of problem, rather than a general purpose language that’s aimed at any kind of software problem. Domain specific languages have been talked about, and used for almost … Continue reading

Posted in Ruby | Tagged , , | 8 Comments

Ruby reflection 2

This is the second post related to ruby’s reflection API, the previous post was an extensive intro to this topic. While the current one will be lighter somehow, it would require you to focus a bit more on the content. … Continue reading

Posted in Ruby | Tagged , , | 3 Comments

Ruby reflection

If you are here, then most probably you want to know more about ruby reflection interface. Well that’s true, but I always find myself in need to explain few things before I get started with my posts, and this time … Continue reading

Posted in Ruby | Tagged , | 17 Comments

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 , , | 18 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