Class: RSpec::Contracts::Double
- Inherits:
-
Object
- Object
- RSpec::Contracts::Double
- Includes:
- Mocks::TestDouble
- Defined in:
- lib/rspec/contracts/double.rb
Instance Method Summary collapse
- #__build_mock_proxy(order_group) ⇒ Object
-
#initialize(interface_name, *args) ⇒ Double
constructor
A new instance of Double.
Constructor Details
#initialize(interface_name, *args) ⇒ Double
Returns a new instance of Double.
9 10 11 12 |
# File 'lib/rspec/contracts/double.rb', line 9 def initialize(interface_name, *args) @interface_name = interface_name __initialize_as_test_double interface_name, *args end |