lib/ftdi.rb
def baudrate=(new_baudrate)
      raise ArgumentError.new('baudrate should be Fixnum')  unless new_baudrate.kind_of?(Fixnum)
      check_result(Ftdi.ftdi_set_baudrate(ctx, new_baudrate))
    end
def baudrate=(new_baudrate)
      raise ArgumentError.new('baudrate should be Fixnum')  unless new_baudrate.kind_of?(Fixnum)
      check_result(Ftdi.ftdi_set_baudrate(ctx, new_baudrate))
    end
def baudrate = ( new_baudrate ) raise ArgumentError . new ( 'baudrate should be Fixnum' ) unless new_baudrate . kind_of? ( Fixnum ) check_result ( Ftdi . ftdi_set_baudrate ( ctx , new_baudrate ) ) end
Sets the chip baud rate.
 @raise [StatusCodeError] libftdi reports error.
 @raise [ArgumentError] Bad arguments.
 @return [NilClass] nil
Sets the chip baud rate .