The reason this was here, and not a default param is that until the line "require 'serialport'" the constant SerialPort::NONE is not yet defined. Please change back...