From: "list. rb" Date: 2007-07-01T22:33:32+09:00 Subject: Re: Ruby vs Java (this,self/main) ------=_Part_86951_16993699.1183296805780 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline And yes, it's a public interface :-) On 7/1/07, Charles Oliver Nutter wrote: > > list. rb wrote: > > Awesome Charles. > > > > I had to make one change to your suggestion: > > class MySubscriber < com.feed.service.PFSubscriber > > def newEvent(event) > > puts event > > end > > end > > > > For some reason, the other syntax was throwing an error. > > If PFSubscriber is an interface, the above syntax doesn't work in 1.0. > What version of JRuby are you using? > > If it's not an interface, nevermind :) > > - Charlie > > ------=_Part_86951_16993699.1183296805780--