code: def get_dir(self, scope, class_):
          
          prop_name = '{scope}_{class_}_dir'.format(**locals())
          value = getattr(self.wrapper, prop_name)
          MultiPath = Multi.for_class(self.path_class)
          return MultiPath.detect(value)
docs: Return the callable function from appdirs, but with the
          result wrapped in self.path_class