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 validator 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



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

def message
  @message
end

#pointerObject (readonly)

Returns the value of attribute pointer

Returns:

  • (Object)

    the current value of pointer



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

def pointer
  @pointer
end

#sort_keyObject (readonly)

Returns the value of attribute sort_key

Returns:

  • (Object)

    the current value of sort_key



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

def sort_key
  @sort_key
end

#type_mismatchObject (readonly)

Returns the value of attribute type_mismatch

Returns:

  • (Object)

    the current value of type_mismatch



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

def type_mismatch
  @type_mismatch
end