questions = { | |
'one' => "What's your name?", | |
'two' => "How old are you?" | |
} | |
questions['one'] # => returns "What's your name?" | |
questions['two'] # => returns "How old are you?" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment