On Tue, Jun 12, 2012 at 3:37 AM, dongcan z. <[email protected]> wrote: > SEKI Masatoshi wrote in post #1063979: >> add it to client. >> ---- >> shower=Show.new >> +DRb.start_service >> monitor.add_observer(shower) >> ---- > > Sorry I forgot to Ctrl+v this line. It has already been there. But the > output can not been seen both in the server and the client. The code has > complied and run successfully, so it has not a error when running it.
Compiled? OK, can you explain with your own words what this is supposed to do? Do you want to send all lines read from the command to all listeners? Documentation on DRb::DRbObservable seems to be a bit thin so I'd have to do some experimenting. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
