class CodeRay::Scanners::Scanner

def column pos = self.pos

See also: #line.
The current column position of the scanner, starting with 1.
def column pos = self.pos
  return 1 if pos <= 0
  pos - (binary_string.rindex(?\n, pos - 1) || -1)
end