Sha256: 37e23a0581932f0ba670471bd421fa53c1dd5d5cce96fa6874e550c94068c1c2

Contents?: true

Size: 432 Bytes

Versions: 3

Compression:

Stored size: 432 Bytes

Contents

require 'spectus/expectation_target'

module Fix
  # Wraps the target of an expectation.
  #
  # @api private
  #
  class It < Spectus::ExpectationTarget
    # Create a new expection target
    #
    # @param subject    [BasicObject] The front object.
    # @param challenges [Array]       The list of challenges.
    def initialize(subject, *challenges)
      @subject    = subject
      @challenges = challenges
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fix-0.10.0 lib/fix/it.rb
fix-0.9.1 lib/fix/it.rb
fix-0.9.0 lib/fix/it.rb