108件ヒット
[101-108件を表示]
(0.013秒)
別のキーワード
キーワード
-
rb
_ catch (12) -
rb
_ define _ global _ function (12) -
rb
_ define _ method (12) -
rb
_ define _ method _ id (12) -
rb
_ define _ module _ function (12) -
rb
_ define _ private _ method (12) -
rb
_ define _ protected _ method (12) -
rb
_ define _ singleton _ method (12) -
rb
_ mod _ define _ method (12)
検索結果
-
VALUE rb
_ catch(const char *tag , VALUE (*proc)() , VALUE data) (13.0) -
catch と同等の動作を実行します。
...eld, INT2FIX(2));
}
static VALUE
foo_abort(VALUE obj)
{
return rb_throw("footag", Qnil);
}
void
Init_foo(void)
{
VALUE Foo = rb_define_class("Foo", rb_cObject);
rb_define_method(Foo, "catch", foo_catch, 0);
rb_define_method(Foo, "abort", foo_abort, 0);
}......ld, INT2FIX(2));
}
static VALUE
foo_abort(VALUE obj)
{
return rb_throw("footag", Qnil);
}
void
Init_foo(void)
{
VALUE Foo = rb_define_class("Foo", rb_cObject);
rb_define_method(Foo, "catch", foo_catch, 0);
rb_define_method(Foo, "abort", foo_abort, 0);
}...