Ruby  1.9.3p429(2013-05-15revision40747)
bug.c
Go to the documentation of this file.
1 #include <ruby.h>
2 
3 static VALUE
5 {
6  if (argc < 1) rb_raise(rb_eArgError, "not enough argument");
7  return rb_funcall2(self, rb_to_id(*argv), argc-1, argv+1);
8 }
9 
10 void
11 Init_bug(void)
12 {
13  VALUE mBug = rb_define_module("Bug");
14  rb_define_module_function(mBug, "funcall", bug_funcall, -1);
15  rb_define_module_function(mBug, "notimplement", rb_f_notimplement, -1);
16 }
17