vendor/gems/flexmock-0.8.5/lib/flexmock/expectation_director.rb
def call(*args)
      exp = find_expectation(*args)
      FlexMock.check("no matching handler found for " +
        FlexMock.format_args(@sym, args)) { ! exp.nil? }
      exp.verify_call(*args)
    end
# Invoke the expectations for a given set of arguments.
#
# First, look for an expectation that matches the arguements and
# is eligible to be called.  Failing that, look for a expectation
# that matches the arguments (at this point it will be ineligible,
# but at least we will get a good failure message).  Finally,
# check for expectations that don't have any argument matching
# criteria.
Invoke the expectations for a given set of arguments.
First, look for an expectation that matches the arguements and
is eligible to be called.  Failing that, look for a expectation
that matches the arguments (at this point it will be ineligible,
but at least we will get a good failure message).  Finally,
check for expectations that don't have any argument matching
criteria.
Invoke the expectations for a given set of arguments . First look for an expectation that matches the arguements and is eligible to be called . Failing that look for a expectation that matches the arguments ( at this point it will be ineligible but at least we will get a good failure message ) . Finally check for expectations that don ' t have any argument matching criteria .
def call(*args)
      exp = find_expectation(*args)
      FlexMock.check("no matching handler found for " +
        FlexMock.format_args(@sym, args)) { ! exp.nil? }
      exp.verify_call(*args)
    end
def call ( * args ) exp = find_expectation ( * args ) FlexMock . check ( "no matching handler found for " + FlexMock . format_args ( @sym , args ) ) { ! exp . nil? } exp . verify_call ( * args ) end
Invoke the expectations for a given set of arguments.
Invoke the expectations for a given set of arguments .
args