Top Level Namespace
Defined Under Namespace
Modules: TourRat Classes: File, Runner, TourBus, TourBusException, TourProxy, TourWatch, Tourist, WebratError
Constant Summary collapse
Instance Method Summary collapse
Instance Method Details
#require_all_files_in_folder(folder, extension = "*.rb") ⇒ Object
35 36 37 38 39 |
# File 'lib/common.rb', line 35 def require_all_files_in_folder(folder, extension = "*.rb") for file in Dir[File.join('.', folder, "**/#{extension}")] require file end end |