class

QR::Code

Inherits Reference < Object

Constructors

new(text, version : Int32 = 0, level : Int32 | Lib::QREncode::QRecLevel = 0, hint : Int32 | Lib::QREncode::QRencodeMode = 0, casesensitive : Bool | Int32 = 0, margin : Int32 = 4)
Source

Class methods

Instance methods

casesensitive
Source
casesensitive=(new_casesensitive) : Int32
Source
content
Source
content=(new_content) : String
Source
hint
Source
hint=(new_hint) : Lib::QREncode::QRencodeMode
Source
level
Source
level=(new_level) : Lib::QREncode::QRecLevel
Source
qrcode
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
version
Source
version=(new_version : Int32) : Int32
Source