README.md in strong_json-2.0.0 vs README.md in strong_json-2.1.0
- old
+ new
@@ -115,10 +115,11 @@
```
### Base types
* `number` The value must be an instance of `Numeric`
+* `integer` The value must be an instance of `Integer`
* `string` The value must be an instance of `String`
* `boolean` The value must be `true` or `false`
* `numeric` The value must be an instance of `Numeric` or a string which represents a number
* `any` Any value except `nil` is accepted
* `symbol` The value must be an instance of `String` or `Symbol`; returns the result ot `#to_sym`
@@ -130,9 +131,10 @@
### Shortcuts
There are some alias for `optional(base)`, where base is base types, as the following:
* `number?`
+* `integer?`
* `string?`
* `boolean?`
* `numeric?`
* `symbol?`
* `literal?(lit)`