Ruby  1.9.3p392(2013-02-22revision39386)
bug.c
Go to the documentation of this file.
1 #include <ruby.h>
2 
3 static VALUE
5 {
7  return ID2SYM(rb_frame_this_func());
8 }
9 
10 static VALUE
12 {
13  VALUE ary = rb_ary_new3(1, Qnil);
14  rb_block_call(ary, rb_intern("map"), 0, 0, bug_i, self);
15  return ary;
16 }
17 
18 void
19 Init_bug(void)
20 {
21  VALUE mBug = rb_define_module("Bug");
22  rb_define_module_function(mBug, "start", bug_start, 0);
23 }
24