$ command line ruby cheat sheets
Cheat Sheet Title: [ no_spaces_alphanumeric_only ]
Cheat Sheet:Python 'doctest' cheatsheet Example Tests: def double(arg): """ Doubles a number argument. Example: >>> double(3) 6 """ return arg * 2 Example Usage: import sys if(__name__ == "__main__"): if(sys.argv[1] == "test"): import doctest doctest.testmod()
Your cheat sheet will be editable (fixable) by anyone. Each cheat sheet is essentially a wiki page. It may also be used by millions of people for reference purposes from the comfort of their command line. If this is okay with you, please save.
Advertisement