def provision(self):
        from provy.more.debian.programming.ruby import RubyRole
        self.provision_role(RubyRole)

        update_alternatives_command = UPDATE_ALTERNATIVES_COMMAND.format(
            version=RubyRole.version,
            priority=RubyRole.priority,
        )
        completion_command = 'ln - sf /etc/bash_completion.d/gem{version} /etc/alternatives/bash_completion_gem'.format(version=RubyRole.version)

        self.execute(update_alternatives_command, sudo=True)
        self.execute(completion_command, sudo=True)
Create a method that emits an event of the same name.
dataset/ETHPy150Open python-provy/provy/provy/more/debian/package/gem.py/GemRole.provision--crossover with--dataset/ETHPy150Open kwikteam/phy/phy/utils/event.py/EventEmitter._create_emitter