Class: ActiveModel::NullMutationTracker
- Inherits:
-
Object
- Object
- ActiveModel::NullMutationTracker
- Includes:
- Singleton
- Defined in:
- lib/active_model/attribute_mutation_tracker.rb
Overview
:nodoc:
Instance Method Summary collapse
- #any_changes? ⇒ Boolean
- #change_to_attribute(attr_name) ⇒ Object
- #changed? ⇒ Boolean
- #changed_attribute_names ⇒ Object
- #changed_in_place? ⇒ Boolean
- #changed_values ⇒ Object
- #changes ⇒ Object
- #force_change ⇒ Object
- #forget_change ⇒ Object
- #original_value ⇒ Object
Instance Method Details
#any_changes? ⇒ Boolean
103 104 105 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 103 def any_changes?(*) false end |
#change_to_attribute(attr_name) ⇒ Object
100 101 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 100 def change_to_attribute(attr_name) end |
#changed? ⇒ Boolean
107 108 109 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 107 def changed?(*) false end |
#changed_attribute_names ⇒ Object
88 89 90 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 88 def changed_attribute_names(*) [] end |
#changed_in_place? ⇒ Boolean
111 112 113 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 111 def changed_in_place?(*) false end |
#changed_values ⇒ Object
92 93 94 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 92 def changed_values(*) {} end |
#changes ⇒ Object
96 97 98 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 96 def changes(*) {} end |
#force_change ⇒ Object
121 122 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 121 def force_change(*) end |
#forget_change ⇒ Object
115 116 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 115 def forget_change(*) end |
#original_value ⇒ Object
118 119 |
# File 'lib/active_model/attribute_mutation_tracker.rb', line 118 def original_value(*) end |