Create an accessor method for the hash 'name
(self, name)
| 51 | self.writeDict(l, name, printValues = False) |
| 52 | |
| 53 | def makeAccessor(self, name): |
| 54 | """Create an accessor method for the hash 'name'""" |
| 55 | write(f'def {name}', file=self.outFile) |
| 56 | write(f' @{name}', file=self.outFile) |
| 57 | write('end', file=self.outFile) |
| 58 | |
| 59 | def endFile(self): |
| 60 | # Creates the inverse mapping of nonexistent APIs to their aliases. |