Module: ZXing::LuminanceSource
- Included in:
- FFI::LuminanceSource
- Defined in:
- lib/zxing/luminance_source.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.
13 14 15 |
# File 'lib/zxing/luminance_source.rb', line 13 def native @native end |
Class Method Details
.new(image) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/zxing/luminance_source.rb', line 5 def self.new image if self == ZXing::LuminanceSource image.class.const_get("LuminanceSource").new image else super end end |
Instance Method Details
#initialize(native) ⇒ Object
15 16 17 |
# File 'lib/zxing/luminance_source.rb', line 15 def initialize native @native = native end |