README.md in csv2hash-0.7.2 vs README.md in csv2hash-0.7.3
- old
+ new
@@ -83,11 +83,20 @@
### Parser options
List of options :
* `ignore_blank_line: :boolean` # i think is pretty straightforward to understand
+* `sanitizer: :boolean` remove trailing space, example:
+```
+ ' it is a really good idea!! '
+```
+become
+```
+ => "it is a really good idea!!"
+```
+
### Definition DSL
```
Csv2hash::Main.generate_definition :name do
set_type { Definition::MAPPING }
@@ -303,16 +312,16 @@
```
| Name | Age |
|---------------|---------------|
| John Doe | 23 |
-| Jane Doe | 28 |
-| | |
+| Jane Doe | 28 |
+| | |
| | |
```
-You want to extract `Name` and `Age` for all rows but you want the order of the columns to be able to change.
-You change the position to the regex of column index you are looking for. So this how the position
+You want to extract `Name` and `Age` for all rows but you want the order of the columns to be able to change.
+You change the position to the regex of column index you are looking for. So this how the position
```
cell position: 0, key: 'name'
```