lib/tesseract_bin.rb in tesseract_bin-1.0.0 vs lib/tesseract_bin.rb in tesseract_bin-1.0.1

- old
+ new

@@ -1,12 +1,11 @@ require 'pathname' module TesseractBin Root = Pathname.new(File.expand_path('../..', __FILE__)) -# Bin = Root.join('bin') + Bin = Root.join('bin') -# Executables = Bin.children.inject({}) { |h, p| -# h[p.basename.to_s.to_sym] = p.to_s -# h -# } + Executables = Bin.children.inject({}) { |h, p| + h[p.basename.to_s.to_sym] = p.to_s + h + } end -