Method: RSpec::Matchers::DSL::Macros#diffable

Defined in:
lib/rspec/matchers/dsl.rb

#diffableObject

Tells the matcher to diff the actual and expected values in the failure message.



259
260
261
# File 'lib/rspec/matchers/dsl.rb', line 259

def diffable
  define_method(:diffable?) { true }
end