Module Expectations::Results::StateBasedFailure
In: lib/expectations/results.rb

Methods

message  

Included Modules

Expectations::Results

Attributes

message  [W] 

Public Instance methods

[Source]

    # File lib/expectations/results.rb, line 36
36:     def message
37:       return @message if @message
38:       result = "expected: <#{expected.inspect}> got: <#{actual.inspect}>"
39:       result += "\nstring details: #{expected.diff(actual)}" if expected.is_a?(String) && actual.is_a?(String)
40:       result
41:     end

[Validate]