|
|
@ -86,7 +86,7 @@ RubyInterpreter::RubyInterpreter(Kross::Api::InterpreterInfo* info): Kross::Api:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
rb_set_safe_level( info->getOption("safelevel")->value.toInt() );
|
|
|
|
rb_set_safe_level( info->getOption("safelevel")->value.toInt() );
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
rb_set_safe_level(4); // if the safelevel option is undefined, set it to maximum level
|
|
|
|
rb_set_safe_level(3); // if the safelevel option is undefined, set it to maximum level
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|