class CodeRay::Scanners::Scanner

def encoding name = 'UTF-8'

The encoding used internally by this scanner.
def encoding name = 'UTF-8'
  @encoding ||= defined?(Encoding.find) && Encoding.find(name)
end