cotag / libuv

Ruby bindings for libuv
Other
60 stars 3 forks source link

repair undefined variable in setting timer repeat #4

Closed diclophis closed 8 years ago

diclophis commented 8 years ago

Fixes:

 NameError:
   undefined local variable or method `error' for #<Libuv::Timer:0x007fd95188c598>
 # ./lib/libuv/timer.rb:60:in `repeat='
stakach commented 8 years ago

Looks good! Thanks for catching this. I've built some further abstractions in https://github.com/cotag/uv-rays/blob/master/lib/uv-rays/scheduler.rb if you want some more rubyesque scheduling. It's built on the Libuv timer.

stakach commented 8 years ago

Released libuv (2.0.9) with this fix