Class: ActiveModel::NullMutationTracker
- Includes:
- Singleton
- Defined in:
- activemodel/lib/active_model/attribute_mutation_tracker.rb
Overview
:nodoc:
Instance Method Summary collapse
- #any_changes? ⇒ Boolean
- #change_to_attribute(attr_name) ⇒ Object
- #changed?(attr_name) ⇒ Boolean
- #changed_attribute_names ⇒ Object
- #changed_in_place?(attr_name) ⇒ Boolean
- #changed_values ⇒ Object
- #changes ⇒ Object
- #original_value(attr_name) ⇒ Object
Instance Method Details
#any_changes? ⇒ Boolean
163 164 165 |
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 163 def any_changes? false end |
#change_to_attribute(attr_name) ⇒ Object
160 161 |
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 160 def change_to_attribute(attr_name) end |
#changed?(attr_name) ⇒ Boolean
167 168 169 |
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 167 def changed?(attr_name, **) false end |
#changed_attribute_names ⇒ Object
148 149 150 |
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 148 def changed_attribute_names [] end |
#changed_in_place?(attr_name) ⇒ Boolean
171 172 173 |
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 171 def changed_in_place?(attr_name) false end |
#changed_values ⇒ Object
152 153 154 |
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 152 def changed_values {} end |
#changes ⇒ Object
156 157 158 |
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 156 def changes {} end |
#original_value(attr_name) ⇒ Object
175 176 |
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 175 def original_value(attr_name) end |