D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Observable
/
Filename :
cdesc-Observable.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Implements the Observable design pattern as a mixin so that other objects can be notified of changes in state. See observer.rb for details and an example. constants: [] full_name: Observable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_observer - !ruby/object:RI::MethodSummary name: changed - !ruby/object:RI::MethodSummary name: changed? - !ruby/object:RI::MethodSummary name: count_observers - !ruby/object:RI::MethodSummary name: delete_observer - !ruby/object:RI::MethodSummary name: delete_observers - !ruby/object:RI::MethodSummary name: notify_observers name: Observable superclass: