# File lib/sup/util.rb, line 138 def synchronized *methods methods.each do |meth| class_eval "alias unsynchronized_\#{meth} \#{meth}\ndef \#{meth}(*a, &b)\n@mutex.synchronize { unsynchronized_\#{meth}(*a, &b) }\nend\n" end end