class RSpec::Contracts::MockProxy

Public Class Methods

new(object, order_group, interface) click to toggle source
Calls superclass method
# File lib/rspec/contracts/mock_proxy.rb, line 9
def initialize(object, order_group, interface)
  super(object, order_group)
  @method_doubles = Hash.new do |h, k|
    h[k] = ContractMethodDouble.new(interface, object, k, self)
  end
end