<reponame>ColCarroll/pete<gh_stars>1-10
from pete.broadcaster import Broadcaster


class StringBroadcaster(Broadcaster):
    """Prints messages to standard out"""
    name = 'string broadcaster'
    
    def send(self, messages):
        print(self._format(messages))

    def _format(self, messages):
        return '\n\n'.join(messages)

from pete.broadcaster import Broadcaster


class StringBroadcaster(Broadcaster):
    """Prints messages to standard out"""
    name = 'string broadcaster'
    
    def send(self, messages):
        print(self._format(messages))

    def _format(self, messages):
        return '\n\n'.join(messages)
Prints messages to standard out