Class: RSpec::Unit::Assertions::AssertionMessage::Literal
- Inherits:
-
Object
- Object
- RSpec::Unit::Assertions::AssertionMessage::Literal
- Defined in:
- lib/rspec/unit/assertions.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ Literal
constructor
A new instance of Literal.
- #inspect ⇒ Object
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
#inspect ⇒ Object
532 533 534 |
# File 'lib/rspec/unit/assertions.rb', line 532 def inspect @value.to_s end |