Class: Rbuv::Timer

Inherits:
RbuvHandle
  • Object
show all
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

#repeatObject



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);

#startObject

Methods



22
# File 'ext/rbuv/rbuv_timer.c', line 22

static VALUE rbuv_timer_start(VALUE self, VALUE timeout, VALUE repeat);

#stopObject



23
# File 'ext/rbuv/rbuv_timer.c', line 23

static VALUE rbuv_timer_stop(VALUE self);