code: def version(self):
          '''
          Return the installed vagrant version, as a string, e.g. '1.5.0'
          '''
          output = self._run_vagrant_command(['--version'])
          m = re.search(r'^Vagrant (?P<version>.+)$', output)
          if m is None:
              raise Exception('Failed to parse vagrant --version output. output={!r}'.format(output))
          return m.group('version'f version(self):
          '''
          Return the installed vagrant version, as a string, e.g. '1.5.0'
          '''
          output = self._run_vagrant_command(['--version'])
          m = re.search(r'^Vagrant (?P<version>.+)$', output)
          if m is None:
              raise Exception('Failed to parse vagrant --version output. output={!r}'.format(output))
          return m.group('version')
docs: Return the installed vagrant version, as a string, e.g. '1.5.0'