Method: Playbook::Props::Date#validate
- Defined in:
- lib/playbook/props/date.rb
permalink #validate(value) ⇒ Object
[View source]
6 7 8 |
# File 'lib/playbook/props/date.rb', line 6 def validate(value) value.is_a?(::Date) end |
6 7 8 |
# File 'lib/playbook/props/date.rb', line 6 def validate(value) value.is_a?(::Date) end |