lib/inch/code_object/provider.rb in inch-0.3.1 vs lib/inch/code_object/provider.rb in inch-0.3.2.rc1
- old
+ new
@@ -19,11 +19,11 @@
# ↓
# ::Inch::CodeObject::Proxy::Base
#
#
module Provider
- def self.parse(dir, paths, excluded, type = :YARD)
- provider_for(type).parse(dir, paths, excluded)
+ def self.parse(dir, config = Inch::Config.codebase, type = :YARD)
+ provider_for(type).parse(dir, config)
end
# @return [Module]
def self.provider_for(type)
const_get(type)