1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

rr_define_class already marks new() private.

This commit is contained in:
Charles Lowell 2010-06-07 10:32:44 +03:00
parent df106eb72e
commit 0dd6c02991

View file

@ -96,5 +96,4 @@ void rr_init_v8_try_catch() {
rr_define_method(TryCatchClass, "StackTrace", StackTrace, 0); rr_define_method(TryCatchClass, "StackTrace", StackTrace, 0);
rr_define_method(TryCatchClass, "Message", _Message, 0); rr_define_method(TryCatchClass, "Message", _Message, 0);
rr_define_method(TryCatchClass, "CanContinue", CanContinue, 0); rr_define_method(TryCatchClass, "CanContinue", CanContinue, 0);
rb_funcall(TryCatchClass, rb_intern("private_class_method"), 1, rb_str_new2("new"));
} }