class BaconExpect::Matcher::Match
Public Class Methods
new(value)
click to toggle source
Calls superclass method
# File lib/bacon-expect/matchers/match.rb, line 3 def initialize(value) super(:match, value) end
Public Instance Methods
fail_message(subject, negated)
click to toggle source
# File lib/bacon-expect/matchers/match.rb, line 7 def fail_message(subject, negated) FailMessageRenderer.message_for_match(negated, subject, @values.first) end