On 2010-11-29, at 14:50 , Alan Skipp wrote:
>
> There's a brief article here
> http://www.oreillynet.com/ruby/blog/2006/01/ruby_design_patterns_observer.html
>
> The procedure for setting up observers is quite different to KVO and I
> imagine it has different advantages/disadvantages to KVO, tho
There's a brief article here
http://www.oreillynet.com/ruby/blog/2006/01/ruby_design_patterns_observer.html
The procedure for setting up observers is quite different to KVO and I imagine
it has different advantages/disadvantages to KVO, though I must admit I'm not
particularly familiar with ruby
I'm not familiar with the Ruby observer mechanism you refer to - could you post
a link?
Matt
On Nov 29, 2010, at 6:34 AM, Alan Skipp wrote:
> I hope people don't mind me posting this bit of code to the list, but I hope
> it will be of some use to others and would also be interested to hear if
I hope people don't mind me posting this bit of code to the list, but I hope it
will be of some use to others and would also be interested to hear if the
technique has any problems which I've not foreseen.
Ruby has its own means of implementing the observer pattern, but as Key Value
Observing (