x.each { x end
           ^~~ unexpected 'end', expecting end-of-input
           ^~~ unexpected 'end', ignoring it
              ^ expected a block beginning with `{` to end with `}`

