Class: RSpec::PathMatchers::Failure Private

Inherits:
Data
  • Object
show all
Defined in:
lib/rspec/path_matchers.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A simple, immutable structure to hold failure data internally.

Instance Attribute Summary collapse

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



30
31
32
# File 'lib/rspec/path_matchers.rb', line 30

def message
  @message
end

#relative_pathObject (readonly)

Returns the value of attribute relative_path

Returns:

  • (Object)

    the current value of relative_path



30
31
32
# File 'lib/rspec/path_matchers.rb', line 30

def relative_path
  @relative_path
end