class method
Prism::Relocation::Repository.new
new(source)
lib/prism/relocation.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/relocation.rb, line 370
def initialize(source)
@source = source
@fields = {}
@entries = Hash.new { |hash, node_id| hash[node_id] = {} }
end
Initialize a new repository with the given source.