$ command line ruby cheat sheets
Cheat Sheet Title: [ no_spaces_alphanumeric_only ]
Cheat Sheet:# 'cheat assertions' for the rest assert_equal(expected, actual, message=nil) Passes if expected == +actual. Note that the ordering of arguments is important, since a helpful error message is generated when this one fails that tells you the values of expected and actual. Example: assert_equal 'MY STRING', 'my string'.upcase
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