require 'test/minirunit' test_exception(NoMethodError) { +"a" }
a="x" +a
Raises a NoMethodError (which is not the case for a=2). "x".respond_to?('+@') is false.
a="x" +aRaises a NoMethodError (which is not the case for a=2). "x".respond_to?('+@') is false.