Skip to content

Instantly share code, notes, and snippets.

@tenderlove
Created February 17, 2009 01:13
Show Gist options
  • Select an option

  • Save tenderlove/65509 to your computer and use it in GitHub Desktop.

Select an option

Save tenderlove/65509 to your computer and use it in GitHub Desktop.
QRTools::Camera.new(0) do |cam|
loop do
decoder = QRTools::Decoder.decode(cam.capture)
next unless decoder.body
puts decoder.body
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment