Class: ActiveModel::NullMutationTracker
- Includes:
- Singleton
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/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
Methods included from Singleton
Instance Method Details
#any_changes? ⇒ Boolean
166 167 168 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_mutation_tracker.rb', line 166 def any_changes? false end |
#change_to_attribute(attr_name) ⇒ Object
163 164 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_mutation_tracker.rb', line 163 def change_to_attribute(attr_name) end |
#changed?(attr_name) ⇒ Boolean
170 171 172 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_mutation_tracker.rb', line 170 def changed?(attr_name, **) false end |
#changed_attribute_names ⇒ Object
151 152 153 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_mutation_tracker.rb', line 151 def changed_attribute_names [] end |
#changed_in_place?(attr_name) ⇒ Boolean
174 175 176 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_mutation_tracker.rb', line 174 def changed_in_place?(attr_name) false end |
#changed_values ⇒ Object
155 156 157 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_mutation_tracker.rb', line 155 def changed_values {} end |
#changes ⇒ Object
159 160 161 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_mutation_tracker.rb', line 159 def changes {} end |
#original_value(attr_name) ⇒ Object
178 179 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activemodel-7.0.4/lib/active_model/attribute_mutation_tracker.rb', line 178 def original_value(attr_name) end |