Class: RQRCode::QRCode
- Inherits:
-
Object
- Object
- RQRCode::QRCode
- Extended by:
- Forwardable
- Defined in:
- lib/rqrcode/qrcode/qrcode.rb
Instance Attribute Summary collapse
-
#qrcode ⇒ Object
readonly
Returns the value of attribute qrcode.
Instance Method Summary collapse
-
#initialize(string, *args) ⇒ QRCode
constructor
A new instance of QRCode.
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
#qrcode ⇒ Object (readonly)
Returns the value of attribute qrcode.
11 12 13 |
# File 'lib/rqrcode/qrcode/qrcode.rb', line 11 def qrcode @qrcode end |