We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
1 parent b2f7fbf commit 5148f79Copy full SHA for 5148f79
core/src/main/java/org/jruby/RubyThread.java
@@ -1115,13 +1115,13 @@ public synchronized IRubyObject inspect() {
1115
// FIXME: There's some code duplication here with RubyObject#inspect
1116
RubyString result = getRuntime().newString("#<");
1117
1118
- result.cat(getMetaClass().getRealClass().rubyName());
+ result.cat(getMetaClass().getRealClass().toRubyString(getRuntime().getCurrentContext()));
1119
+ result.cat(':');
1120
result.catString(identityString());
1121
String name = threadImpl.getRubyName(); // thread.name
1122
if (notEmpty(name)) {
1123
result.cat('@');
1124
result.catString(name);
- result.cat(':');
1125
}
1126
if (notEmpty(file) && line >= 0) {
1127
0 commit comments