Class: ZXing::FFI::QRCode::Decoder
- Includes:
- QRCode::Decoder
- Defined in:
- lib/zxing/ffi/qrcode/decoder.rb
Instance Attribute Summary
Attributes included from Binarizer
Attributes inherited from Binarizer
Instance Method Summary collapse
-
#initialize(luminance_source) ⇒ Decoder
constructor
A new instance of Decoder.
Methods included from QRCode::Decoder
Methods inherited from Binarizer
Constructor Details
#initialize(luminance_source) ⇒ Decoder
Returns a new instance of Decoder.
7 8 9 |
# File 'lib/zxing/ffi/qrcode/decoder.rb', line 7 def initialize luminance_source super ZXing::FFI::Library.Decoder_new(luminance_source.native), luminance_source end |