code: def get_public_methods(self):
          
          return self.get_action_methods() + [
              ('getenv', self.getenv),
              ('expandvars', self.expandvars),
              ('defined', self.defined),
              ('undefined', self.undefined)]
docs: return a list of methods on this class which should be exposed in the rex
          API.