Sha256: 9f15819565e54af9bc007aef5c9a38762a5c8defded923a8ad33b2334e378da5

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

# 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
factory_bot_rails-5.0.0 lib/factory_bot_rails/definition_file_paths.rb
factory_bot_rails-5.0.0.rc2 lib/factory_bot_rails/definition_file_paths.rb
factory_bot_rails-5.0.0.rc1 lib/factory_bot_rails/definition_file_paths.rb