Skip to content
instance method

Prism::Translation::Ripper#bounds

bounds(location)

This method is responsible for updating lineno and column information to reflect the current node.

This method could be drastically improved with some caching on the start of every line, but for now it’s good enough.