module FactoryGirl
Public Class Methods
find_definitions()
click to toggle source
# File lib/baja.rb, line 51 def self.find_definitions Baja::Blast.definition_file_paths.each do |path| puts "abspath: #{path}" FactoryLoad.load_path("#{path}.rb") if File.exist?("#{path}.rb") if File.directory? path Dir[File.join(path, '**', '*.rb')].sort.each do |file| FactoryLoad.load_path(file) end end end end