123456789_123456789_123456789_123456789_123456789_

Class: Test::Unit::Assertions::AssertionMessage::DelayedLiteral

Relationships & Source Files
Inherits: Object
Defined in: lib/test/unit/assertions.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(value) ⇒ DelayedLiteral

[ GitHub ]

  
# 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