Class: SpecGuard::RSpec::ViolationRenderer::Entry

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

Overview

One rendered line, plus where it came from and where it sorts.

pointer is the node the reference attributes the message to, which for an additional-property violation is the parent object rather than json_schemer's data_pointer.

Instance Attribute Summary collapse

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



98
99
100
# File 'lib/specguard/rspec/violation_renderer.rb', line 98

def message
  @message
end

#pointerObject (readonly)

Returns the value of attribute pointer

Returns:

  • (Object)

    the current value of pointer



98
99
100
# File 'lib/specguard/rspec/violation_renderer.rb', line 98

def pointer
  @pointer
end

#sort_keyObject (readonly)

Returns the value of attribute sort_key

Returns:

  • (Object)

    the current value of sort_key



98
99
100
# File 'lib/specguard/rspec/violation_renderer.rb', line 98

def sort_key
  @sort_key
end

#type_mismatchObject (readonly)

Returns the value of attribute type_mismatch

Returns:

  • (Object)

    the current value of type_mismatch



98
99
100
# File 'lib/specguard/rspec/violation_renderer.rb', line 98

def type_mismatch
  @type_mismatch
end