Class: Guard::JRubyMinitest::AppPathsReloader
- Inherits:
-
Object
- Object
- Guard::JRubyMinitest::AppPathsReloader
- Extended by:
- TestPaths
- Defined in:
- lib/guard/jruby-minitest/reloaders/app_paths_reloader.rb
Instance Attribute Summary
Attributes included from TestPaths
Class Method Summary collapse
Methods included from TestPaths
Class Method Details
.run(paths) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/guard/jruby-minitest/reloaders/app_paths_reloader.rb', line 6 def self.run(paths) paths.select{|p| !in_test_folders?(p)}.each do |p| if File.exists?(p) Containment.new.protect { load p } end end end |