Method: Expresenter::Common#definition

Defined in:
lib/expresenter/common.rb

#definitionString (readonly)

The human-readable description of the expectation.

Examples:

result.definition # => 'eq "foo"'

Returns:

  • (String)

    Description combining the matcher and expected values.



45
46
47
# File 'lib/expresenter/common.rb', line 45

def definition
  @definition
end