object.constraints.each do |c| p = object.particles[c.index] if c.component == :x ...
Ruby ruby metaprogramming
require 'erb' # GOAL: render the template with the following vars ...
Ruby Given a hash of variables, ...
by mislav,
April 12, 2008 15:12,
6 refactorings, tagged with hash, metaprogramming, erb, singleton, metaclass, render
This works. Now, is there a...
So here here my ugly code. ...