123456789_123456789_123456789_123456789_123456789_

Class: ActiveModel::NullMutationTracker

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
self, ::Singleton
Inherits: Object
Defined in: activemodel/lib/active_model/attribute_mutation_tracker.rb

Instance Attribute Summary

::Singleton - Included

#duplicable?

::Singleton instances are not duplicable:

Instance Method Summary

Instance Attribute Details

#any_changes?Boolean (readonly)

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 174

def any_changes?
  false
end

Instance Method Details

#change_to_attribute(attr_name)

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 171

def change_to_attribute(attr_name)
end

#changed?(attr_name) ⇒ Boolean

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 178

def changed?(attr_name, **)
  false
end

#changed_attribute_names

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 159

def changed_attribute_names
  []
end

#changed_in_place?(attr_name) ⇒ Boolean

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 182

def changed_in_place?(attr_name)
  false
end

#changed_values

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 163

def changed_values
  {}
end

#changes

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 167

def changes
  {}
end

#original_value(attr_name)

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute_mutation_tracker.rb', line 186

def original_value(attr_name)
end