class RSpec::Mocks::Matchers::Receive::Customization
def initialize(method_name, args, block)
def initialize(method_name, args, block) @method_name = method_name @args = args @block = block end
def playback_onto(expectation)
def playback_onto(expectation) expectation.__send__(@method_name, *@args, &@block) end