lib/rspec/sleeping_king_studios/matchers/core/have_property_matcher.rb
# Checks if the object responds to #expected and #expected=. Additionally,
# if a value expectation is set, compares the result of calling :expected
# to the value.
#
# @param [Object] actual The object to check.
#
# @return [Boolean] true If the object responds to #expected and
#   #expected= and matches the value expectation (if any); otherwise false.
Checks if the object responds to #expected and #expected=. Additionally,
if a value expectation is set, compares the result of calling :expected
to the value.
Checks if the object responds to #expected and #expected = . Additionally if a value expectation is set compares the result of calling : expected to the value .
def matches? actual
      super
      matches_property?(:all?)
    end
def matches? actual super matches_property? ( :all? ) end
Checks if the object responds to #expected and #expected=.
Checks if the object responds to #expected and #expected = .
true If the object responds to #expected and #expected= and matches the value expectation (if any); otherwise false.
true If the object responds to #expected and #expected = and matches the value expectation ( if any ) ; otherwise false .
Boolean
actual
<not_specific>
<not_specific>
actual The object to check.
actual The object to check .