class Mongoid::Changeable::Anything
A class for representing the default value that an attribute was changed from or to.
@api private
Public Instance Methods
==(_other)
click to toggle source
‘Anything` objects are always equal to everything. This simplifies the logic for asking whether an attribute has changed or not. If the `from` or `to` value is a `Anything` (because it was not explicitly given), any comparison with it will suggest the value has not changed.
@param [ Object
] _other The object being compared with this object.
@return [ true ] Always returns true.
# File lib/mongoid/changeable.rb, line 238 def ==(_other) true end