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, helpers, 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.

  • helpers (Hash)

    The list of helpers.

  • configuration (Hash)

    Settings.



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

def initialize(front_object, results, challenges, helpers, configuration)
  @front_object   = front_object
  @results        = results
  @challenges     = challenges
  @helpers        = helpers
  @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.



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

def results
  @results
end