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.
- #undefine_attribute_methods ⇒ Object
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 |
#undefine_attribute_methods ⇒ Object
23 24 25 26 |
# File 'lib/validates_timeliness/attribute_methods.rb', line 23 def undefine_attribute_methods super undefine_timeliness_attribute_methods end |