class CodeRay::Tokens
def dump gzip_level = 7
speed and compression rate.
in most cases as it is a good compromise between
but the default value 7 should be what you want
You can configure the level of compression,
so it has an #undump method. See Tokens.load.
The returned String object includes Undumping
In addition, it is gzipped using GZip.gzip.
The dump is created with Marshal.dump;
in files or databases.
Dumps the object into a String that can be saved
def dump gzip_level = 7 dump = Marshal.dump self dump = GZip.gzip dump, gzip_level dump.extend Undumping end