Sha256: c0c924ae32a2593f43c9dfcdf9ee0b05307b38f8a1b6bac99ca2e04ce3e5a9ba
Contents?: true
Size: 339 Bytes
Versions: 5
Compression:
Stored size: 339 Bytes
Contents
require "rubycritic/source_locator" require "rubycritic/core/analysed_file" module Rubycritic module FilesInitializer def self.init(paths) source = SourceLocator.new(paths) source.pathnames.map do |pathname| AnalysedFile.new(:pathname => pathname, :smells => [], :duplication => 0) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems