Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

Hash.new constructor

# Hash.new constructor
my_hash = Hash.new([default_value])
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #constructor
ADD COMMENT
Topic
Name
8+9 =