Exception: Uttk::ObserverError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/uttk.rb

Instance Method Summary collapse

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_sObject



150
151
152
# File 'lib/uttk.rb', line 150

def to_s
  "observer needs to respond to `update' (#{@obs.inspect})"
end