private Object methodMissing( RubyBasicObject self, RubySymbol name, Object[] args, RubyProc block) { throw new RaiseException( getContext().getCoreLibrary().nameErrorNoMethod(name.toString(), self.toString())); }
@Specialization public boolean equal(RubyString a, RubySymbol b) { return equal(a, b.toRubyString()); }
@CompilerDirectives.TruffleBoundary @Specialization protected String toJavaString(RubySymbol symbol) { return symbol.toString(); }