我有以下错误:
tests @action.placed.!=(true) at least 3 times (RepeatedConditional)
从以下代码生成:
def left
super unless @action.placed != true
end
def right
super unless @action.placed != true
end
def move_forward
super unless @action.placed != true
end
我们将如何摆脱这种重复?