Method: Rea::Application#files_in_load_path

Defined in:
lib/rea/application.rb

#files_in_load_pathObject



32
33
34
35
# File 'lib/rea/application.rb', line 32

def files_in_load_path
  paths = load_paths+%W{rea models}.collect{|dir|File.expand_path("app/#{dir}", Rails.root)}
  paths.flatten.compact.uniq.collect{|path| Dir["#{path}/**/*.rb"] }.flatten
end