From: Emmanuel Oga Date: 2008-08-16T03:55:09+09:00 Subject: Re: Ruby: Boolean Challenge > http://gist.github.com/5619 > > Actually, I think there was a typo on line 94. > > - @recognizer.mknows?(1).or?(3).or?(5).should be_true > + @recognizer.mknows?(1).or?(3).or?(6).should be_true > > After I fixed that, it passes the specs. Yes I had a couple of typos, I think I have fixed them now. I'm not sure about your change though, but I think the last edit I made makes more clear what I'm needing: it "should return false for 1 or 3 or 5 without having to call true at the end" do pending "Impossible in ruby?" do lambda do # needed functionality is to remove last true? and make it work anyway. raise if @recognizer.mknows?(1).or?(3).or?(5)#.true? end.should_not raise_error end end P.S.: GIST RULES!!! :D -- Posted via http://www.ruby-forum.com/.