Project

General

Profile

Feature #16412

Thread#to_s returns "... file:line" instead of "...@file:line"

Added by znz (Kazuhiro NISHIYAMA) about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:96181]

Description

Proc#to_s returns "... file:line" instead of "...@file:line", but Thread#to_s includes @.

I think changing Thread#to_s too is better consistency.


Related issues

Related to Ruby master - Feature #16101: Proc#to_s returns "... file:line" instead of "...@file:line"ClosedActions

Associated revisions

Revision b8d6c883
Added by nobu (Nobuyoshi Nakada) about 1 month ago

Improved the test for Thread#inspect [Feature #16412]

History

#1

Updated by znz (Kazuhiro NISHIYAMA) about 1 month ago

  • Related to Feature #16101: Proc#to_s returns "... file:line" instead of "...@file:line" added

Updated by Eregon (Benoit Daloze) about 1 month ago

  • Assignee set to ko1 (Koichi Sasada)
  • Status changed from Open to Closed

+1

https://github.com/ruby/ruby/pull/2738 was merged, thanks for the PR!

Also available in: Atom PDF