Method: Rug.update

Defined in:
ext/rug.c

.update(*args) ⇒ Object



36
37
38
39
40
41
42
43
# File 'ext/rug.c', line 36

static VALUE RugUpdate(int argc, VALUE * argv, VALUE class){
  if (rb_block_given_p()){
    VALUE func;
    rb_scan_args(argc, argv, "0&", &func);
    updateFunc = func;
  }
  return Qnil;
}