disu.se

SymbolClass

Namespace

Lookout::Difference

Ancestors
  1. Object

  2. Object

Difference reports between ::Symbols.

Constructor

initialize(actual::Object, expected::Object, query::String?, negatedBoolean)#

Initializes a difference report between the actual result Symbol and the expected value Symbol, with query being the name of the query method that expected represents, if any, whose result may be negated.

Instance Methods

message::String, super#

Returns a String of the form #actual#QUERY, prefixed by ‘¬’ if the query was negated, if there was a query, super otherwise.