docs/BOOLEAN.md in lite-validators-1.0.5 vs docs/BOOLEAN.md in lite-validators-1.0.6

- old
+ new

@@ -6,14 +6,21 @@ # 1. Pattern 'true_values' => [true, 1, '1', 't', 'T', 'true', 'TRUE'] 'false values' => [false, 0, '0', 'f', 'F', 'false', 'FALSE'] ``` +#### Options + +Option | Type | Available | Default +--- | --- | --- | --- +check | symbol | all, false_only, true_only | all + #### Usage ```ruby class User < ActiveRecord::Base validates :input_0, boolean: true + validates :input_1, boolean: { check: :true_only } end ```