Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby hash from array

Hash['key1', 'value1', 'key2', 'value2']

# => {"key1"=>"value1", "key2"=>"value2"}
 
PREVIOUS NEXT
Tagged: #ruby #hash #array
ADD COMMENT
Topic
Name
3+1 =