diff options
Diffstat (limited to 'spec/ruby/core/thread/fixtures/classes.rb')
-rw-r--r-- | spec/ruby/core/thread/fixtures/classes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/ruby/core/thread/fixtures/classes.rb b/spec/ruby/core/thread/fixtures/classes.rb index c1f15935ee..23a090feb0 100644 --- a/spec/ruby/core/thread/fixtures/classes.rb +++ b/spec/ruby/core/thread/fixtures/classes.rb @@ -7,11 +7,12 @@ module ThreadSpecs end class Status - attr_reader :thread, :inspect, :status + attr_reader :thread, :inspect, :status, :to_s def initialize(thread) @thread = thread @alive = thread.alive? @inspect = thread.inspect + @to_s = thread.to_s @status = thread.status @stop = thread.stop? end |