DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
how to add two variables into a hash ruby
your_hash = {} hash_key = gets.chomp hash_value = gets.chomp your_hash[hash_key] = hash_value
PREVIOUS
NEXT
Tagged:
#add
#variables
#hash
#ruby
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit