Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/test/unit/assertions.rb |
Class Method Summary
- .new(value) ⇒ DelayedLiteral constructor
Instance Method Summary
Constructor Details
.new(value) ⇒ DelayedLiteral
# File 'lib/test/unit/assertions.rb', line 1998
def initialize(value) @value = value end
Instance Method Details
#inspect
[ GitHub ]# File 'lib/test/unit/assertions.rb', line 2002
def inspect @value.call.to_s end