Class: RSpec::Unit::Assertions::AssertionMessage::Literal

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

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Literal

Returns a new instance of Literal.



528
529
530
# File 'lib/rspec/unit/assertions.rb', line 528

def initialize(value)
  @value = value
end

Instance Method Details

#inspectObject



532
533
534
# File 'lib/rspec/unit/assertions.rb', line 532

def inspect
  @value.to_s
end