class BaconExpect::Matcher::Eq

Public Class Methods

new(value) click to toggle source
Calls superclass method
# File lib/bacon-expect/matchers/eq.rb, line 3
def initialize(value)
  super(:==, value)
end

Public Instance Methods

fail_message(subject, negated) click to toggle source
# File lib/bacon-expect/matchers/eq.rb, line 7
def fail_message(subject, negated)
  FailMessageRenderer.message_for_be_eq(negated, subject, @values.first)
end