-
-
Save anonymous/a056ac364c395e263bf9 to your computer and use it in GitHub Desktop.
Why no work?
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
options = {"lastpatient"=>":ID"} | |
for option in options | |
#this works | |
puts selected[:ID] | |
#this does not work | |
puts selected['#{option}'] | |
#and this does not work | |
puts selected[:option] | |
end |
canton7
commented
May 10, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment