README.md in excel-esv-0.0.5 vs README.md in excel-esv-0.0.6
- old
+ new
@@ -37,10 +37,22 @@
``` ruby
require "esv"
data = File.read("/tmp/test.xls")
-output = ESV.parse(data) # => [ [ "Name", "Dogs", … ], … ]
+output = ESV.parse(data)
+# => [ [ "Name", "Dogs", … ], … ]
+```
+
+This assumes a file with a single worksheet and will raise otherwise.
+
+### Parse file
+
+``` ruby
+require "esv"
+
+output = ESV.parse_file("/tmp/test.xls")
+# => [ [ "Name", "Dogs", … ], … ]
```
This assumes a file with a single worksheet and will raise otherwise.
### Generate in Ruby on Rails