lib/esv.rb in excel-esv-0.0.5 vs lib/esv.rb in excel-esv-0.0.6
- old
+ new
@@ -25,6 +25,10 @@
worksheet_count = book.worksheets.length
raise "Expected 1 worksheet, found #{worksheet_count}." if worksheet_count > 1
book.worksheet(0).to_a
end
+
+ def self.parse_file(path)
+ parse File.read(path)
+ end
end