Skip to content
instance method

Prism::Node#slice_lines

slice_lines

Slice the location of the node from the source, starting at the beginning of the line that the location starts on, ending at the end of the line that the location ends on.