lib/rspec/sleeping_king_studios/matchers/base_matcher.rb
# Tests the actual object to see if it matches the defined condition(s).
# Invoked by RSpec expectations.
#
# @param [Object] actual the object to test against the matcher
#
# @return [Boolean] true if the object matches, otherwise false
Tests the actual object to see if it matches the defined condition(s).
Invoked by RSpec expectations.
Tests the actual object to see if it matches the defined condition ( s ) . Invoked by RSpec expectations .
def matches? actual
      @actual = actual
      true
    end
def matches? actual @actual = actual true end
Tests the actual object to see if it matches the defined condition(s).
Tests the actual object to see if it matches the defined condition ( s ) .
true if the object matches, otherwise false
true if the object matches otherwise false
Boolean
actual
<not_specific>
<not_specific>
actual the object to test against the matcher
actual the object to test against the matcher