lib/rspec/sleeping_king_studios/matchers/core/have_reader_matcher.rb
# Checks if the object responds to #expected. Additionally, if a value
# expectation is set, compares the value of #expected to the specified
# value.
#
# @param [Object] actual The object to check.
#
# @return [Boolean] true If the object responds to #expected and matches
#    the value expectation (if any); otherwise false.
Checks if the object responds to #expected. Additionally, if a value
expectation is set, compares the value of #expected to the specified
value.
Checks if the object responds to #expected . Additionally if a value expectation is set compares the value of #expected to the specified value .
def matches? actual
      super
      matches_reader?(:all?)
    end
def matches? actual super matches_reader? ( :all? ) end
Checks if the object responds to #expected.
Checks if the object responds to #expected .
true If the object responds to #expected and matches the value expectation (if any); otherwise false.
true If the object responds to #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 .