Metro2.File (metro_2 v0.2.0)
This module defines the initial struct of the the metro2 file struct, further it contains the serialisation method, wich ultimately returns a string containing the struct as valid metro2 file content.
Summary
Functions
Add a base segement to the base segment list in the file struct.
Creates a new Metro2 File with properly initialized segments
converts and serializes a Metro2.File struct into a Metro2 conform string