code: def _add_slash(self, string=None):
          
          if(not str.endswith(string, '/')):
              return str.join('', [string, '/'])
          return str(string)
docs: if a string doesn't end in a '/' add one