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