class ActiveModel::AttributeMutationTracker

def changed?(attr_name, from: OPTION_NOT_GIVEN, to: OPTION_NOT_GIVEN)

Experimental RBS support (using type sampling data from the type_fusion project).

def changed?: (String attr_name, from: Object, to: Object) -> false

This signature was generated using 1 sample from 1 application.

def changed?(attr_name, from: OPTION_NOT_GIVEN, to: OPTION_NOT_GIVEN)
  attribute_changed?(attr_name) &&
    (OPTION_NOT_GIVEN == from || original_value(attr_name) == from) &&
    (OPTION_NOT_GIVEN == to || fetch_value(attr_name) == to)
end