lib/journeyman/load.rb
def load_factories_if_directory(path)
      if File.directory?(path)
        Dir[File.join(path, '**', '*.rb')].sort.each { |file| Kernel.load file }
      end
    end
def load_factories_if_directory(path)
      if File.directory?(path)
        Dir[File.join(path, '**', '*.rb')].sort.each { |file| Kernel.load file }
      end
    end
Internal: If the path is a directory, it loads all the factories in that path.