librelist archives

« back to archive

Slot#finish

Slot#finish

From:
Fela Winkelmolen
Date:
2010-07-26 @ 20:16
The finish method, which is documented in the manual, doesn't seem to work, 
does anybody have some working code with this method?

Re: [shoes] Slot#finish

From:
ashbb
Date:
2010-07-27 @ 14:26
Ahh,... you are right. The finish method wasn't implemented completly.
_why wrote almost all code, but needed one more push. ;-)

Look at this commit:
http://github.com/ashbb/shoes/commit/ce059d9e7f48abf73b41e38f429e2780568eed85

Now you can find the following snippet works.

Shoes.app do
 s = stack
 s.finish{|e| para e}
 timer(3){s.remove}
end

ashbb

Re: [shoes] Slot#finish

From:
Fela Winkelmolen
Date:
2010-07-27 @ 16:21
Awesome! :)

> Ahh,... you are right. The finish method wasn't implemented completly.
> _why wrote almost all code, but needed one more push. ;-)
> 
> Look at this commit:
> http://github.com/ashbb/shoes/commit/ce059d9e7f48abf73b41e38f429e2780568eed
> 85
> 
> Now you can find the following snippet works.
> 
> Shoes.app do
>  s = stack
>  s.finish{|e| para e}
>  timer(3){s.remove}
> end
> 
> ashbb

Re: [shoes] Slot#finish

From:
Vojtěch Šalbaba
Date:
2010-07-27 @ 15:59
ashbb, youre the best.
S pozdravem
  Vojtěch Šalbaba



2010/7/27 ashbb <ashbbb@gmail.com>

> Ahh,... you are right. The finish method wasn't implemented completly.
> _why wrote almost all code, but needed one more push. ;-)
>
> Look at this commit:
> http://github.com/ashbb/shoes/commit/ce059d9e7f48abf73b41e38f429e2780568eed85
>
> Now you can find the following snippet works.
>
> Shoes.app do
>  s = stack
>  s.finish{|e| para e}
>  timer(3){s.remove}
> end
>
> ashbb
>