Exception: Uttk::ObserverError
Instance Method Summary collapse
-
#initialize(anObject) ⇒ ObserverError
constructor
A new instance of ObserverError.
- #to_s ⇒ Object
Constructor Details
#initialize(anObject) ⇒ ObserverError
Returns a new instance of ObserverError.
147 148 149 |
# File 'lib/uttk.rb', line 147 def initialize ( anObject ) @obs = anObject end |
Instance Method Details
#to_s ⇒ Object
150 151 152 |
# File 'lib/uttk.rb', line 150 def to_s "observer needs to respond to `update' (#{@obs.inspect})" end |