projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added JRuby wrapper for fun scripting times.
[zxing.git]
/
jruby
/
lib
/
zxing
/
decodable.rb
diff --git a/jruby/lib/zxing/decodable.rb
b/jruby/lib/zxing/decodable.rb
new file mode 100644
(file)
index 0000000..
97f6437
--- /dev/null
+++ b/
jruby/lib/zxing/decodable.rb
@@ -0,0
+1,11
@@
+require File.expand_path( File.dirname(__FILE__) + '/../zxing')
+
+module Decodable
+ def decode
+ ZXing.decode(self)
+ end
+
+ def decode!
+ ZXing.decode!(self)
+ end
+end