class ObserverInt

ObserverInt. @abstract @class_description

An Observer library interface.

ObserverInt. @abstract @class_description

An Observer library interface.

Constants

VERSION

Public Class Methods

changed(instance = nil) click to toggle source

self.changed(instance = nil). @description

Verifies an instance's state.

@param instance [.]

Any instance.

@return [TrueClass, FalseClass]

True in the case the argument is an Observable type, it is an
Observer's subject, and its state changed. False otherwise.
# File lib/observer_int.rb, line 38
def self.changed(instance = nil)
end
notify(instance = nil) click to toggle source

self.notify(instance = nil). @description

Notifies the appropriate Observer kind an instance's state changed.

@param instance [.]

An Observable instance.

@return [NilClass]

nil.
# File lib/observer_int.rb, line 48
def self.notify(instance = nil)
end
observable() click to toggle source

self.observable(). @description

Gets OBSERVABLE.

@return [Set]

OBSERVABLE's reference.
# File lib/observer_int.rb, line 17
def self.observable()
end
type(identifier = nil) click to toggle source

self.type(identifier = nil). @description

Predicate. Verifies an identifier is an Observable identifier.

@param identifier [.]

Any identifier.

@return [TrueClass, FalseClass]

True in the case the identifier is an Observable type. False otherwise.
# File lib/observer_int.rb, line 27
def self.type(identifier = nil)
end

Private Class Methods

kind_observer(instance = nil) click to toggle source

self.kind_observer(instance = nil). @description

Gets the corresponding type's observer.

@param instance [.]

Any instance.

@return [.]

The argument's corresponding observer identifier.
# File lib/observer_int.rb, line 58
def self.kind_observer(instance = nil)
end