Created
March 16, 2013 21:46
-
-
Save joncode/5178468 to your computer and use it in GitHub Desktop.
Removing the ruby return values from calls - good for avoiding the data dump in console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You can either put | |
| gs = Gift.all; | |
| or | |
| gs = Gift.all; nil | |
| the second one is a little better as it terminates the method , the first one starts a block like behavior in the console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment