Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::Relocation::Repository#filepath
filepath
lib/prism/relocation.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/relocation.rb, line 381
def filepath
raise ConfigurationError, "Can only specify filepath for a filepath source" unless source.is_a?(SourceFilepath)
field(:filepath, FilepathField.new(source.value))
end
Configure the filepath field for this repository and return self.