Method: Rug.load

Defined in:
ext/rug.c

.load(*args) ⇒ Object

main Rug actions



18
19
20
21
22
23
24
25
# File 'ext/rug.c', line 18

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