Module: ZXing::Result
- Included in:
- FFI::Result
- Defined in:
- lib/zxing/result.rb
Instance Attribute Summary collapse
-
#native ⇒ Object
readonly
Returns the value of attribute native.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#native ⇒ Object (readonly)
Returns the value of attribute native.
12 13 14 |
# File 'lib/zxing/result.rb', line 12 def native @native end |
Class Method Details
.new(*args) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/zxing/result.rb', line 4 def self.new *args if self == ZXing::Result ZXing::FFI::Result.new(*args) else super end end |
Instance Method Details
#initialize(native) ⇒ Object
14 15 16 |
# File 'lib/zxing/result.rb', line 14 def initialize native @native = native end |