def __str__(self):
    'String method for the class\n\n        The method transforms the configuration\n        file object into its string representation.\n\n        Returns\n        -------\n        a string representation of the object\n        '
    rstring = (str(self.header) + '\n')
    for key in self.gkeys:
        rstring += str(key)
    for beam in self._beams:
        rstring += str(beam)
    return rstring
String method for the class

The method transforms the configuration
file object into its string representation.

Returns
-------
a string representation of the object
def __str__(self):
    'String method for the class\n\n        The method transforms the configuration\n        file object into its string representation.\n\n        Returns\n        -------\n        a string representation of the object\n        '
    rstring = (str(self.header) + '\n')
    for key in self.gkeys:
        rstring += str(key)
    for beam in self._beams:
        rstring += str(beam)
    return rstring