Module: FactoryGirl
- Defined in:
- lib/baja.rb
Class Method Summary collapse
Class Method Details
.find_definitions ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/baja.rb', line 51 def self.find_definitions puts "defpath: #{Baja::Blast.definition_file_paths}" 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 |