class RQRCodeCore::QRCode

def mode

Return a symbol in QRMODE.keys for current mode used
def mode
  case @data_list
  when QRNumeric
    :mode_number
  when QRAlphanumeric
    :mode_alpha_numk
  else
    :mode_8bit_byte
  end
end