Sha256: 5832a7ad9cba5ce4a70f1c0170fb7f86829f73c7937eb448cc32ac03f9c12065

Contents?: true

Size: 303 Bytes

Versions: 27

Compression:

Stored size: 303 Bytes

Contents

from io import StringIO


class PythonStringBuilder:
    _file_str = None

    def __init__(self):
        self._file_str = StringIO()

    def append(self, string):
        self._file_str.write(string)
        return self

    def __str__(self):
        return self._file_str.getvalue()

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
javonet-ruby-sdk-2.1.5 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/PythonStringBuilder.py
javonet-ruby-sdk-2.1.4 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/PythonStringBuilder.py
javonet-ruby-sdk-2.1.3 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/PythonStringBuilder.py
javonet-ruby-sdk-2.1.2 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/PythonStringBuilder.py
javonet-ruby-sdk-2.1.1 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/PythonStringBuilder.py
javonet-ruby-sdk-2.1.0 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/PythonStringBuilder.py
javonet-ruby-sdk-2.0.4 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/PythonStringBuilder.py