Author Archives: khelll

Grails and Arabic localization

A little problem that i faced with grails , was setting the locale dynamically, i followed this nice article , and here is how i could manage it : I made a new file called messages_ar.properties that contains the arabic … Continue reading

Posted in Grails | Tagged , , | 2 Comments

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