Created
September 30, 2013 23:15
-
-
Save pond/6771693 to your computer and use it in GitHub Desktop.
This file contains 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
pondmac:log adh1003$ irb | |
1.9.3p392 :004 > {:thing => ("foo" if true)} | |
=> {:thing=>"foo"} | |
1.9.3p392 :005 > {:thing => ("foo" if false)} | |
=> {:thing=>nil} | |
1.9.3p392 :006 > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment