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 2005
def initialize(value) @value = value end
Instance Method Details
#inspect
[ GitHub ]# File 'lib/test/unit/assertions.rb', line 2009
def inspect @value.call.to_s end