Class: Test::Unit::Assertions::AssertionMessage::Literal
- Inherits:
-
Object
- Object
- Test::Unit::Assertions::AssertionMessage::Literal
- Defined in:
- lib/test/unit/assertions.rb,
lib/test/unit/assertions.rb,
lib/test/unit/assertions.rb,
lib/test/unit/assertions.rb,
lib/test/unit/assertions.rb,
lib/test/unit/assertions.rb,
lib/test/unit/assertions.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ Literal
constructor
A new instance of Literal.
-
#inspect ⇒ Object
Constructor Details
#initialize(value) ⇒ Literal
Returns a new instance of Literal
1987 1988 1989 |
# File 'lib/test/unit/assertions.rb', line 1987 def initialize(value) @value = value end |
Instance Method Details
#inspect ⇒ Object
1991 1992 1993 |
# File 'lib/test/unit/assertions.rb', line 1991 def inspect @value.to_s end |