Class: RQRCode::QRCode

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/rqrcode/qrcode/qrcode.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(string, *args) ⇒ QRCode

Returns a new instance of QRCode.


13
14
15
# File 'lib/rqrcode/qrcode/qrcode.rb', line 13

def initialize(string, *args)
  @qrcode = RQRCodeCore::QRCode.new(string, *args)
end

Instance Attribute Details

#qrcodeObject (readonly)

Returns the value of attribute qrcode


11
12
13
# File 'lib/rqrcode/qrcode/qrcode.rb', line 11

def qrcode
  @qrcode
end