Class: Fix::It Private
- Inherits:
-
Spectus::ExpectationTarget
- Object
- Spectus::ExpectationTarget
- Fix::It
- Defined in:
- lib/fix/it.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Wraps the target of an expectation.
Instance Method Summary collapse
-
#initialize(subject, *challenges) ⇒ It
constructor
private
Create a new expection target.
Constructor Details
#initialize(subject, *challenges) ⇒ It
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create a new expection target
13 14 15 16 |
# File 'lib/fix/it.rb', line 13 def initialize(subject, *challenges) @subject = subject @challenges = challenges end |