HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //usr/lib/ruby/gems/3.2.0/gems/rbs-2.8.2/stdlib/minitest/0/minitest/result.rbs
# <!-- rdoc-file=lib/minitest.rb -->
# This represents a test result in a clean way that can be marshalled over a
# wire. Tests can do anything they want to the test instance and can create
# conditions that cause Marshal.dump to blow up. By using Result.from(a_test)
# you can be reasonably sure that the test result can be marshalled.
#
class Minitest::Result < ::Minitest::Runnable
  # <!--
  #   rdoc-file=lib/minitest.rb
  #   - from(runnable)
  # -->
  # Create a new test result from a Runnable instance.
  #
  def self.from: (untyped runnable) -> untyped
  def class_name: () -> untyped
  def to_s: () -> untyped

  # <!-- rdoc-file=lib/minitest.rb -->
  # The class name of the test result.
  #
  attr_accessor klass: untyped

  # <!-- rdoc-file=lib/minitest.rb -->
  # The location of the test method.
  #
  attr_accessor source_location: untyped
  include Minitest::Reportable
end