3 ms·
If you want to play with Ruby metaprogramming, this [0] is a fun exercise. The listed "solutions" are also more fun. At least one metaprograms the test harness
by 1propionyl 3y ago
If you want to play with Ruby metaprogramming, this [0] is a fun exercise.
The listed "solutions" are also more fun. At least one metaprograms the test harness itself. Is that "cheating"? Hm.
[0] http://rubyquiz.com/quiz67.html http://rubyquiz.com/quiz67.html