Sha256: e0fa09a332f59c451998b76898b8a0beca57862f1d507d017f857c918d443768
Contents?: true
Size: 451 Bytes
Versions: 14
Compression:
Stored size: 451 Bytes
Contents
# This file demonstrates several Hash features in Nila variable = 5 inst_section = { 'cello' => 'string', 'clarinet' => 'woodwind', 'drum': 'percussion', 'oboe' : 'woodwind', 'trumpet' => 'brass', 'violin' => 'string', :guitar => 'string' } if variable == 10 print "Variable is 10" elsif variable == 20 print "Variable is 20" else print "Variable is something else" end student_ages = {"Jack" => 10,"Jill" => 12,"Bob" => 14}
Version data entries
14 entries across 14 versions & 1 rubygems