Class: Fix::On Private

Inherits:
Object
  • Object
show all
Defined in:
lib/fix/on.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 challenge.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(front_object, results, challenges, configuration = {}) ⇒ On

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.

Initialize the on class.

Parameters:

  • front_object (BasicObject)

    The front object of the test.

  • results (Array)

    The list of collected results.

  • challenges (Array)

    The list of challenges to apply.

  • configuration (Hash) (defaults to: {})

    Settings.



24
25
26
27
28
29
# File 'lib/fix/on.rb', line 24

def initialize(front_object, results, challenges, configuration = {})
  @front_object   = front_object
  @results        = results
  @challenges     = challenges
  @configuration  = configuration
end

Instance Attribute Details

#resultsArray (readonly)

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.

Returns The results.

Returns:

  • (Array)

    The results.



34
35
36
# File 'lib/fix/on.rb', line 34

def results
  @results
end