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)
SourceClass methods
print(text)
SourceInstance methods
casesensitive
Sourcecasesensitive=(new_casesensitive) : Int32
Sourcecontent
Sourcecontent=(new_content) : String
Sourcehint
Sourcehint=(new_hint) : Lib::QREncode::QRencodeMode
Sourcelevel
Sourcelevel=(new_level) : Lib::QREncode::QRecLevel
Sourceprint
Sourceqrcode
Sourceto_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.
version
Sourceversion=(new_version : Int32) : Int32
Source