From: w_a_x_man Date: 2010-10-21T13:10:11+09:00 Subject: Re: about handling args in block On Oct 20, 11:41 am, Robert Klemme wrote: > Node = Struct.new :value, :left, :right do > >    # We usually do not use prefix "is" which >    # you might be used to in Java. >    def leaf? >      @left.nil? && @right.nil? >    end Will that work? Or would it have to be self.left.nil? && self.right.nil?