class RubyIndexer::IndexablePath Attributes full_path (attr_reader) require_path (attr_reader) Public Class Methods new(load_path_entry, full_path) Show source # File lib/ruby_indexer/lib/ruby_indexer/indexable_path.rb, line 21 def initialize(load_path_entry, full_path) @full_path = full_path @require_path = T.let( load_path_entry ? full_path.delete_prefix("#{load_path_entry}/").delete_suffix(".rb") : nil, T.nilable(String), ) end