Method: Roby::Application#app_dir

Defined in:
lib/roby/app.rb

#app_dirString?

Returns the application base directory

Returns:

  • (String, nil)


303
304
305
306
307
308
309
# File 'lib/roby/app.rb', line 303

def app_dir
    if defined?(APP_DIR)
        APP_DIR
    elsif @app_dir
        @app_dir
    end
end