Module: RQRCode

Defined in:
lib/rqrcode/qrcode/qr_code.rb,
lib/rqrcode/qrcode/qr_math.rb,
lib/rqrcode/qrcode/qr_rs_block.rb,
lib/rqrcode/qrcode/qr_8bit_byte.rb,
lib/rqrcode/qrcode/qr_bit_buffer.rb,
lib/rqrcode/qrcode/qr_polynomial.rb

Overview

Permission is granted for use, copying, modification, distribution, and distribution of modified versions of this work as long as the above copyright notice is included. ++

Defined Under Namespace

Classes: QR8bitByte, QRBitBuffer, QRCode, QRCodeArgumentError, QRCodeRunTimeError, QRMath, QRPolynomial, QRRSBlock

Constant Summary collapse

QRMODE =

:nodoc:

{
  :mode_number		=> 1 << 0,
  :mode_alpha_num	=> 1 << 1,
  :mode_8bit_byte	=> 1 << 2,
  :mode_kanji			=> 1 << 3
}
QRERRORCORRECTLEVEL =
{
  :l => 1,
  :m => 0,
  :q => 3,
  :h => 2
}
QRMASKPATTERN =
{
  :pattern000 => 0,
  :pattern001 => 1,
  :pattern010 => 2,
  :pattern011 => 3,
  :pattern100 => 4,
  :pattern101 => 5,
  :pattern110 => 6,
  :pattern111 => 7
}