Sha256: 4159358d872175114fd7aee4dd969aab0c435fa153b7e9b58213c699eae81f40
Contents?: true
Size: 473 Bytes
Versions: 4
Compression:
Stored size: 473 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nilac-0.0.4.3.3 | shark/test_files/hashes.nila |
nilac-0.0.4.3.0 | shark/test_files/hashes.nila |
nilac-0.0.4.2.9 | shark/test_files/hashes.nila |
nilac-0.0.4.2.8 | shark/test_files/hashes.nila |