lib/inch/evaluation/proxy.rb in inch-0.3.0.rc2 vs lib/inch/evaluation/proxy.rb in inch-0.3.0.rc3
- old
+ new
@@ -9,10 +9,10 @@
private
def self.class_for(code_object)
class_name = code_object.class.to_s.split('::').last
- eval(class_name)
+ const_get(class_name)
end
end
end
end