class RSpec::Contracts::Double
Public Class Methods
new(interface_name, *args)
click to toggle source
Calls superclass method
# File lib/rspec/contracts/double.rb, line 10 def initialize(interface_name, *args) @interface = Interface.find_or_create interface_name super end
Public Instance Methods
__build_mock_proxy(order_group)
click to toggle source
# File lib/rspec/contracts/double.rb, line 15 def __build_mock_proxy(order_group) MockProxy.new self, order_group, @interface end