Skip to content
instance method

Prism::Source#find_line

find_line(byte_offset)

Binary search through the offsets to find the line number for the given byte offset.