Interface

Class: ObserverInt.

Constants

Attributes

Method Signatures

ObserverInt.observable()

def self.observable()
end

Gets OBSERVABLE. Returns OBSERVABLE's Set reference.

ObserverInt.type(identifier = nil)

def self.type(identifier = nil)
end

Predicate. Verifies an argument, identifier, is an Observable identifier. Returns true in the case the identifier is an Observable type. false otherwise.

ObserverInt.changed(instance = nil)

def self.changed(instance = nil)
end

Predicate. Verifies an argument subject's state. Returns true in the case the argument is an Observable type, it is an Observer's subject, and its state changed. false otherwise.

ObserverInt.notify(instance = nil)

def self.notify(instance = nil)
end

Notifies the appropriate Observer kind an instance's state changed. Takes an Observable instance, instance, and updates its subscribers. Returns nil.