The kEND constant refers to the end token as if you are ending with each block of code. The guarantee block is equivalent to the finally block in other languages.
begin 1/0 rescue ZeroDivisionError puts "OH SHI-" ensure
That refers to kensure.
It looks like you forgot to put a closing finger at the end of a method call or a list of method parameters.
Chuck source share