class Bootsnap::LoadPathCache::Path

def stability

Experimental RBS support (using type sampling data from the type_fusion project).

def stability: () -> Symbol

This signature was generated using 2 samples from 1 application.

def stability
  @stability ||= if Gem.path.detect { |p| expanded_path.start_with?(p.to_s) }
    STABLE
  elsif Bootsnap.bundler? && expanded_path.start_with?(Bundler.bundle_path.to_s)
    STABLE
  elsif expanded_path.start_with?(RUBY_LIBDIR) && !expanded_path.start_with?(RUBY_SITEDIR)
    STABLE
  else
    VOLATILE
  end
end