module CodeRay
def get_scanner_options options
This is used if a method like CodeRay.encode has to provide options
Returns an empty Hash if :scanner_options is not set.
Extract the options for the scanner from the +options+ hash.
def get_scanner_options options options.fetch :scanner_options, {} end