Module: ValidatesTimeliness::AttributeMethods::ClassMethods
- Defined in:
- lib/validates_timeliness/attribute_methods.rb
Instance Method Summary collapse
-
#timeliness_attribute_timezone_aware?(attr_name) ⇒ Boolean
Override in ORM shim.
-
#timeliness_attribute_type(attr_name) ⇒ Object
Override in ORM shim.
Instance Method Details
#timeliness_attribute_timezone_aware?(attr_name) ⇒ Boolean
Override in ORM shim
14 15 16 |
# File 'lib/validates_timeliness/attribute_methods.rb', line 14 def timeliness_attribute_timezone_aware?(attr_name) false end |
#timeliness_attribute_type(attr_name) ⇒ Object
Override in ORM shim
19 20 21 |
# File 'lib/validates_timeliness/attribute_methods.rb', line 19 def timeliness_attribute_type(attr_name) :datetime end |