Method: Cucumber::Runtime::SupportCode#load_files_from_paths

Defined in:
lib/cucumber/runtime/support_code.rb

#load_files_from_paths(paths) ⇒ Object


87
88
89
90
# File 'lib/cucumber/runtime/support_code.rb', line 87

def load_files_from_paths(paths)
  files = paths.map { |path| Dir["#{path}/**/*.rb"] }.flatten
  load_files! files
end