lib/inch/code_object/provider.rb in inch-0.3.0.rc2 vs lib/inch/code_object/provider.rb in inch-0.3.0.rc3
- old
+ new
@@ -25,10 +25,10 @@
provider_for(type).parse(dir, paths, excluded)
end
# @return [Module]
def self.provider_for(type)
- eval("::Inch::CodeObject::Provider::#{type}")
+ const_get(type)
end
end
end
end