18 lines
347 B
Ruby
18 lines
347 B
Ruby
# frozen_string_literal: true
|
|
|
|
module FactoryBotRails
|
|
class DefinitionFilePaths
|
|
attr_reader :files, :directories
|
|
|
|
def initialize(definition_file_paths)
|
|
@files = []
|
|
@directories = {}
|
|
|
|
definition_file_paths.each do |path|
|
|
@files << "#{path}.rb"
|
|
@directories[path.to_s] = [:rb]
|
|
end
|
|
end
|
|
end
|
|
end
|