123456789_123456789_123456789_123456789_123456789_

Class: RSpec::Mocks::Matchers::ExpectationCustomization Private

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: rspec-mocks/lib/rspec/mocks/matchers/expectation_customization.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#block (rw)

[ GitHub ]

  
# File 'rspec-mocks/lib/rspec/mocks/matchers/expectation_customization.rb', line 6

attr_accessor :block

Instance Method Details

#playback_onto(expectation)

[ GitHub ]

  
# File 'rspec-mocks/lib/rspec/mocks/matchers/expectation_customization.rb', line 14

def playback_onto(expectation)
  expectation.__send__(@method_name, *@args, &@block)
end