Class: Rbuv::Timer
- Inherits:
-
RbuvHandle
- Object
- RbuvHandle
- Rbuv::Timer
- Defined in:
- lib/rbuv/timer.rb,
ext/rbuv/rbuv_timer.c
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.start(*args) ⇒ Object
3 4 5 |
# File 'lib/rbuv/timer.rb', line 3 def self.start(*args) self.new.start(*args) { |*block_args| yield(*block_args) } end |
Instance Method Details
#repeat ⇒ Object
24 |
# File 'ext/rbuv/rbuv_timer.c', line 24 static VALUE rbuv_timer_repeat_get(VALUE self); |
#repeat= ⇒ Object
25 |
# File 'ext/rbuv/rbuv_timer.c', line 25
static VALUE rbuv_timer_repeat_set(VALUE self, VALUE repeat);
|
#start ⇒ Object
Methods
22 |
# File 'ext/rbuv/rbuv_timer.c', line 22
static VALUE rbuv_timer_start(VALUE self, VALUE timeout, VALUE repeat);
|
#stop ⇒ Object
23 |
# File 'ext/rbuv/rbuv_timer.c', line 23 static VALUE rbuv_timer_stop(VALUE self); |