From: Michael Neumann Date: 2005-02-02T18:51:43+09:00 Subject: Re: [ANN] Wee 0.7.0 + Tutorial Videos Kent Sibilev wrote: > I'm playing with the wee and so far it looks very interesting. I hope > I'll get more understanding after following tutorial videos (tahnks for > those btw). The only minor thing I have noticed is that calendar.rb > example seems to be a little bit outdated. The following change fixed it > for me: > > @@ -343,9 +343,7 @@ > # Call the calendar component > # > def calendar() > - if date = call( CustomCalendar.new(@date) ) > - @date = date > - end > + call( CustomCalendar.new(@date), lambda { |date| @date = date if > date }) > end > end Thanks. Either your patch solves this, or put a require 'wee/continuation' at the top. There are probably some other examples broken. Regards, Michael