Ignore:
Timestamp:
Nov 24, 2007, 10:56:37 AM (12 years ago)
Author:
Pascal Terjan
Message:
  • Add Caca::Event#quit? to make tests nicer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/ruby/ruby-caca.dox

    r2033 r2042  
    5757d.title = "Test !"
    5858d.refresh
    59 while((e = d.get_event(Caca::Event, -1)) &&
    60        ! e.kind_of?(Caca::Event::Quit))
     59while((e = d.get_event(Caca::Event, -1)) && ! e.quit?)
    6160    p e
    6261    d.refresh
Note: See TracChangeset for help on using the changeset viewer.