Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Rynaro committed Oct 7, 2019
1 parent fe768fa commit d9439b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,11 @@ Sometimes we need to deal with some general patterns on third-party files. Like

#### Allow Empty

The `allow_empty?` property was designed to deal with randomic unexpected data exported from third-party. Like `DateTime` field that has `%Y%m%d` format, but in third-party file, some lines cames with ` `, or `00000000`.
The `allow_empty` property was designed to deal with randomic unexpected data exported from third-party. Like `DateTime` field that has `%Y%m%d` format, but in third-party file, some lines cames with ` `, or `00000000`.

The common return when `allow_empty?` was marked on field, is `nil`.
The common return when `allow_empty` was marked on field, is `nil`.

_Tip: `allow_empty?` could be ommitted when you not need a data saving_
_Tip: `allow_empty` could be ommitted when you not need a data saving_

##### Example

Expand All @@ -302,7 +302,7 @@ _Tip: `allow_empty?` could be ommitted when you not need a data saving_
range: 2..10
type: DateTime
formats:
allow_empty?: true
allow_empty: true
format: '%d/%m/%Y'
```

Expand Down

0 comments on commit d9439b1

Please sign in to comment.