if next_move.include? "0" or next_move.include? "1"
xxxxxxx
end
在笨办法学Ruby中看到这里不太明白
滿天的星座2017-04-25 09:04:28
is not an operator. The ? in ruby can be used in function names to indicate a judgment. For example, include?
means whether to include