def printMethods(obj) puts prettyPrint((obj.methods - Object.methods).sort) end def printAllMethods(obj) puts prettyPrint(obj.methods) end