method

root

ruby latest stable - Class: Bundler::Plugin::API::Source

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

root()
public

It is used to obtain the full_gem_path.

spec’s loaded_from path is expanded against this to get full_gem_path

Note: Do not override if you don’t know what you are doing.