Top Level Namespace

Defined Under Namespace

Modules: UniversalTrackManager, UniversalTrackManagerConcern

Instance Method Summary collapse

Instance Method Details

#require_all(path) ⇒ Object



8
9
10
11
12
13
# File 'lib/universal-track-manager.rb', line 8

def require_all(path)
  pattern = File.join(__dir__, path, "*.rb")
  Dir.glob(pattern).sort.each do |f|
    require f
  end
end