Module: Rubycritic::ModulesInitializer
- Defined in:
- lib/rubycritic/modules_initializer.rb
Class Method Summary collapse
Class Method Details
.init(paths) ⇒ Object
7 8 9 10 11 |
# File 'lib/rubycritic/modules_initializer.rb', line 7 def self.init(paths) SourceLocator.new(paths).pathnames.map do |pathname| AnalysedModule.new(:pathname => pathname) end end |