From: Christoph Rippel Date: 2001-03-21T11:04:09+09:00 Subject: [ruby-talk:13007] Unless - elsif & protected Hi, I often use unless (I am pretty negative;-) in clauses like unless cond1 # bla1 else # bla2 end unfortunately the elsif version does not work right now - i.e. unless cond1 # bla1 elsif cond2 # bla2 end is not valid right now and I can't see any particular reason why - I sort of consider this to be a nuance-bug. I also have question about the visibility rules of protected. Currently the following works class A def initialize(a) @spy=a end protected attr :spy end x = A.new 12; y = A.new 34 def x.spy_in(other) other.spy end p x.spy_in(y) I was wandering if it would not make sense to change the visibility rules of protected that it also works for class functions - right now this will fail def A.class_spy(objA) objA.spy end A.class_spy(x) # protected exception Again this isn't a big deal ... Christoph