Skip to content
instance method

Prism::Location#copy

copy(source: self.source, start_offset: self.start_offset, length: self.length)

Create a new location object with the given options.