Class: Fix::It Private

Inherits:
Spectus::ExpectationTarget
  • Object
show all
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

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

Parameters:

  • subject (BasicObject)

    The front object.

  • challenges (Array)

    The list of challenges.



13
14
15
16
# File 'lib/fix/it.rb', line 13

def initialize(subject, *challenges)
  @subject    = subject
  @challenges = challenges
end