End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Observable#changed?
changed?
lib/observer.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/observer.rb, line 202
def changed?
if defined? @observer_state and @observer_state
true
else
false
end
end
Returns true if this object’s state has been changed since the last notify_observers call.