Module: ZXing::Common::HybridBinarizer

Included in:
FFI::Common::HybridBinarizer
Defined in:
lib/zxing/common/hybrid_binarizer.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new(*args) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/zxing/common/hybrid_binarizer.rb', line 5

def self.new *args
  if self == ZXing::Common::HybridBinarizer
    ZXing::FFI::Common::HybridBinarizer.new(*args)
  else
    super
  end
end

Instance Method Details

#initialize(*args) ⇒ Object



13
14
15
# File 'lib/zxing/common/hybrid_binarizer.rb', line 13

def initialize *args
  super *args
end