Method: Roby::Application#shift_search_path

Defined in:
lib/roby/app.rb

#shift_search_path(path) ⇒ Object

Add a path to the search path, just after the app dir in search priority



442
443
444
445
446
447
# File 'lib/roby/app.rb', line 442

def shift_search_path(path)
    @search_path ||= self.search_path
    i = @search_path.index(app_dir)
    @search_path.insert(i + 1, path)
    update_load_path
end