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(state=true)
lib/observer.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/observer.rb, line 194
def changed(state=true)
@observer_state = state
end
Set the changed state of this object. Notifications will be sent only if the changed state is true.
state-
Boolean indicating the changed state of this
Observable.