Class: Minitest::Reporters::Suite
- Inherits:
-
Object
- Object
- Minitest::Reporters::Suite
- Defined in:
- lib/minitest/reporters/base_reporter.rb
Instance Attribute Summary collapse
-
#name
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Suite
constructor
A new instance of Suite.
-
#to_s
Constructor Details
#initialize(name) ⇒ Suite
Returns a new instance of Suite.
5 6 7 |
# File 'lib/minitest/reporters/base_reporter.rb', line 5 def initialize(name) @name = name end |
Instance Attribute Details
#name (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/minitest/reporters/base_reporter.rb', line 4 def name @name end |
Instance Method Details
#to_s
9 10 11 |
# File 'lib/minitest/reporters/base_reporter.rb', line 9 def to_s name.to_s end |