Project

General

Profile

Actions

Feature #16412

closed

Thread#to_s to return "... file:line" instead of "...@file:line"

Added by znz (Kazuhiro NISHIYAMA) over 1 year ago. Updated 8 months 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 for consistency.


Related issues

Related to Ruby master - Feature #16101: Proc#to_s returns "... file:line" instead of "...@file:line"Closedko1 (Koichi Sasada)Actions
Actions #1

Updated by znz (Kazuhiro NISHIYAMA) over 1 year ago

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

Updated by Eregon (Benoit Daloze) over 1 year 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!

Actions #4

Updated by sawa (Tsuyoshi Sawada) 8 months ago

  • Description updated (diff)
  • Subject changed from Thread#to_s returns "... file:line" instead of "...@file:line" to Thread#to_s to return "... file:line" instead of "...@file:line"
Actions

Also available in: Atom PDF