Class: Test::Unit::Assertions::AssertionMessage::Literal

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Literal

Returns a new instance of Literal



1962
1963
1964
# File 'lib/test/unit/assertions.rb', line 1962

def initialize(value)
  @value = value
end

Instance Method Details

#inspectObject



1966
1967
1968
# File 'lib/test/unit/assertions.rb', line 1966

def inspect
  @value.to_s
end