Created
September 18, 2014 23:55
-
-
Save EminenceHC/584afb87927b6e43c1a5 to your computer and use it in GitHub Desktop.
ternary question
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
userJson = { | |
"student"=> { | |
"discharge_date" => "#{@discharge_date_time}" ? Date.strptime("#{@discharge_date_time}","%m/%d/%Y") : nil | |
} |
waseem
commented
Sep 19, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment