def join()

in src/buildspec.py [0:0]


    def join(self, loader, node):
        """
        This method is used to perform string concatenation
        in the yaml file. Specifying !join [x,y,z] should
        result in the string xyz

        Args:
            loader: ruamel.yaml.constructor.RoundTripConstructor
            node: ruamel.yaml.nodes.SequenceNode

        Returns:
            str

        """
        seq = [
            self.override(scalar_string)
            for scalar_string in loader.construct_sequence(node)
        ]
        seq = "".join([str(scalar_string) for scalar_string in seq])
        seq = ruamel.yaml.scalarstring.PlainScalarString(seq)
        if node.anchor is not None:
            seq.anchor.value = node.anchor
        return seq