Closed gdurelle closed 6 years ago
Documentation provide here : http://toreto.re/barby/ is out of date
For example, the first chunk of code should be :
require 'barby' require 'barby/outputter/png_outputter' require 'barby/barcode/code_128' barcode = Barby::Code128B.new('The noise of mankind has become too much') File.open('code128b.png', 'wb'){|f| f.write barcode.to_png(:height => 20, :margin => 5) }
=> the documentation misses a require and the wb option in File.open
wb
File.open
Documentation provide here : http://toreto.re/barby/ is out of date
For example, the first chunk of code should be :
=> the documentation misses a require and the
wb
option inFile.open