This is my code:
def mainFunction
@notes=Hash.new(Array.new)
@notes["First"].push(true)
@notes["First"].push(false)
@notes["First"].push(true)
@notes["Second"].push(true)
output @notes.size.to_s
end
Why is the output 0? It should be 2 since notes has two keys, "First" and "Second".