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 2191

def initialize(value)
  @value = value
end

Instance Method Details

#inspect

[ GitHub ]

  
# File 'lib/test/unit/assertions.rb', line 2195

def inspect
  @value.call.to_s
end