Module: ValidatesTimeliness::AttributeMethods
- Extended by:
- ActiveSupport::Concern
- Included in:
- ActiveRecord::Base, Mongoid::Document
- Defined in:
- lib/validates_timeliness/attribute_methods.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#_clear_timeliness_cache ⇒ Object
88 89 90 |
# File 'lib/validates_timeliness/attribute_methods.rb', line 88 def _clear_timeliness_cache @timeliness_cache = {} end |
#_timeliness_raw_value_for(attr_name) ⇒ Object
84 85 86 |
# File 'lib/validates_timeliness/attribute_methods.rb', line 84 def _timeliness_raw_value_for(attr_name) @timeliness_cache && @timeliness_cache[attr_name.to_s] end |