Class: MaglevRecord::SuperclassMismatchChangeBase

Inherits:
Object
  • Object
show all
Defined in:
lib/maglev_record/snapshot/superclass_mismatch_change.rb

Instance Method Summary collapse

Instance Method Details

#changes_since(snapshot) ⇒ Object



28
29
30
# File 'lib/maglev_record/snapshot/superclass_mismatch_change.rb', line 28

def changes_since(snapshot)
  self
end

#nothing_changed?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/maglev_record/snapshot/superclass_mismatch_change.rb', line 16

def nothing_changed?
  false
end

#superclass_mismatch_class_namesObject



24
25
26
# File 'lib/maglev_record/snapshot/superclass_mismatch_change.rb', line 24

def superclass_mismatch_class_names
  superclass_mismatch_classes.map(&:class_name)
end

#superclass_mismatch_classesObject



20
21
22
# File 'lib/maglev_record/snapshot/superclass_mismatch_change.rb', line 20

def superclass_mismatch_classes
  [self]
end