mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
rr_define_class() already marks the ruby new() method private.
This commit is contained in:
parent
b9a3aba004
commit
388013f92e
1 changed files with 0 additions and 1 deletions
|
@ -31,5 +31,4 @@ void rr_init_script() {
|
|||
rr_define_singleton_method(ScriptClass, "New", New, 2);
|
||||
rr_define_singleton_method(ScriptClass, "Compile", Compile, 2);
|
||||
rr_define_method(ScriptClass, "Run", Run, 0);
|
||||
rb_funcall(ScriptClass, rb_intern("private_class_method"), 1, rb_str_new2("new"));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue