Method: Roby::Application#register_app
- Defined in:
- lib/roby/app.rb
#register_app(path, where: :push) ⇒ Object
Register another Roby app
The call both adds the app to the search path
461 462 463 464 465 466 467 |
# File 'lib/roby/app.rb', line 461 def register_app(path, where: :push) path = File.(path, app_dir) app_name = File.basename(path) send("#{where}_search_path", path) @registered_apps[app_name] = path end |