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

Inherits:
Object
  • Object
show all
Defined in:
lib/test/unit/assertions.rb

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Literal

Returns a new instance of Literal.



2273
2274
2275
# File 'lib/test/unit/assertions.rb', line 2273

def initialize(value)
  @value = value
end

Instance Method Details

#inspectObject



2277
2278
2279
# File 'lib/test/unit/assertions.rb', line 2277

def inspect
  @value.to_s
end