module
Importance_1

This class is a wrapper around File IO and Encoding that helps RDoc load files and convert them to the correct encoding.

Constants

HEADER_REGEXP = /^ (?: \A\#!.*\n | ^\#\s+frozen[-_]string[-_]literal[=:].+\n | ^\#[^\n]+\b(?:en)?coding[=:]\s*(?[^\s;]+).*\n | <\?xml[^?]*encoding=(?["'])(?.*?)\k.*\n )+ /xi

Attributes

Show files where this module is defined (1 file)
Register or log in to add new notes.