On Tue, Jul 08, 2008 at 02:16:08PM +1000, Bluebie, Jenna wrote:
> Why can't I do self.checked? inside a check's click block doodad? I find it 
> confusing that I have to assign the check to a varaible and then use the 
> variable. 'self' should reference the slot the event handler is running on 
> behalf of.

You can do this:

  check do |c|
    if c.checked?
      append { para "Consider it done." }
    end
  end

_why

Reply via email to