Module: ZXing::Image

Included in:
RMagick::Image
Defined in:
lib/zxing/image.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nativeObject (readonly)

Returns the value of attribute native.



9
10
11
# File 'lib/zxing/image.rb', line 9

def native
  @native
end

Class Method Details

.read(*args) ⇒ Object



5
6
7
# File 'lib/zxing/image.rb', line 5

def self.read *args
  ZXing::RMagick::Image::read(*args)
end

Instance Method Details

#initialize(native) ⇒ Object



11
12
13
# File 'lib/zxing/image.rb', line 11

def initialize native
  @native = native
end