private Object methodMissing(
     RubyBasicObject self, RubySymbol name, Object[] args, RubyProc block) {
   throw new RaiseException(
       getContext().getCoreLibrary().nameErrorNoMethod(name.toString(), self.toString()));
 }
示例#2
0
 @CompilerDirectives.TruffleBoundary
 @Specialization
 protected String toJavaString(RubySymbol symbol) {
   return symbol.toString();
 }