lib/glimmer/data_binding/observable.rb in glimmer-0.7.0 vs lib/glimmer/data_binding/observable.rb in glimmer-0.7.1

- old
+ new

@@ -9,8 +9,13 @@ end def remove_observer(observer, property_or_properties=nil) raise Error, 'Not implemented!' end + + # Overriding inspect to avoid printing very long observer hierarchies + def inspect + "#<#{self.class.name}:0x#{self.hash.to_s(16)}>" + end end end end