class Test def main pass def foo ensure x > 0 # .error. local x = 3 def bar ensure 3 in [x] # .error. local x = 3