Here’s a nice how-to on Ruby metaprogramming.
randito has written 4 entries about this goal
oh grasshopper
3 years ago
grasshopper: master, what is a class << self; self; end ?
master: if you want to add class methods to your class, then you need it’s metaclass.
metaprogramming
4 years ago
ever wondered how rails does it’s “belongs_to” magic?
run, don’t walk to this article: metaprogramming in ruby
idioms
4 years ago
i feel like i’m still programming ruby in a way that looks a lot like java. you know? i want to start picking up some of the subtleties and nuances and idioms that make the language what it is.
randito has gotten 4 cheers on this goal.
tokenmathematician cheered this 2 years ago
M. cheered this 3 years ago
jazzchic misses Galileo cheered this 3 years ago
Jeff cheered this 3 years ago
