Class: Minitest::Reporters::Suite
- Inherits:
-
Object
- Object
- Minitest::Reporters::Suite
- Defined in:
- lib/minitest/reporters/fastci_reporter.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
-
#initialize(name) ⇒ Suite
constructor
A new instance of Suite.
- #to_s ⇒ Object
Constructor Details
#initialize(name) ⇒ Suite
Returns a new instance of Suite.
5 6 7 |
# File 'lib/minitest/reporters/fastci_reporter.rb', line 5 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/minitest/reporters/fastci_reporter.rb', line 4 def name @name end |
Instance Method Details
#==(other) ⇒ Object
9 10 11 |
# File 'lib/minitest/reporters/fastci_reporter.rb', line 9 def ==(other) name == other.name end |
#eql?(other) ⇒ Boolean
13 14 15 |
# File 'lib/minitest/reporters/fastci_reporter.rb', line 13 def eql?(other) self == other end |
#hash ⇒ Object
17 18 19 |
# File 'lib/minitest/reporters/fastci_reporter.rb', line 17 def hash name.hash end |
#to_s ⇒ Object
21 22 23 |
# File 'lib/minitest/reporters/fastci_reporter.rb', line 21 def to_s name.to_s end |