csherin/mazes — Issue #5: Assignments to unused local variable
Author: PragTob
Created: 2012-01-20 19:10:44+00:00
State: open

In the sigma code there are examples like this one:

def noexit_east?(coordinate)
width = 1 == coordinate[0]
end

I can't figure out why this is assigning something to an unused local variable. Plus assigning a boolean value to `width` seems wrong to me. Am I missing something?