mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-23 06:16:44 +00:00
minor doc tweak
This commit is contained in:
parent
56a95ebd62
commit
555748fac9
@ -112,7 +112,7 @@ module ValidatesTimeliness
|
|||||||
private
|
private
|
||||||
|
|
||||||
# Validate value against the temporal restrictions. Restriction values
|
# Validate value against the temporal restrictions. Restriction values
|
||||||
# maybe of mixed type, so the are evaluated as a common type, which may
|
# maybe of mixed type, so they are evaluated as a common type, which may
|
||||||
# require conversion. The type used is defined by validation type.
|
# require conversion. The type used is defined by validation type.
|
||||||
def validate_timeliness_restrictions(record, attr_name, value, configuration)
|
def validate_timeliness_restrictions(record, attr_name, value, configuration)
|
||||||
restriction_methods = {:before => '<', :after => '>', :on_or_before => '<=', :on_or_after => '>='}
|
restriction_methods = {:before => '<', :after => '>', :on_or_before => '<=', :on_or_after => '>='}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user