lib/rtesseract/box_char.rb in rtesseract-2.0.1 vs lib/rtesseract/box_char.rb in rtesseract-2.1.0
- old
+ new
@@ -14,10 +14,10 @@
'.box'
end
# Read the result file
def parse_file
- File.read(text_file_with_ext).to_s
+ File.read(file_with_ext).to_s
end
def convert_text
text_objects = []
parse_file.each_line do |line|