class Prism::Source

def initialize(source, start_line = 1, offsets = compute_offsets(source))

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

def initialize: (String source, ?Integer start_line, ?Array[Integer] offsets) -> void

This signature was generated using 5 samples from 1 application.

the source code.
offsets. If no newline byte offsets are given, they will be computed from
Create a new source object with the given source code and newline byte
def initialize(source, start_line = 1, offsets = compute_offsets(source))
  @source = source
  @start_line = start_line
  @offsets = offsets
end