Module: Leap::GoalMethodsDocumentation

Defined in:
lib/leap/goal_methods_documentation.rb

Overview

Note:

This module is provided due to limitations in the YARD documentation system.

Used strictly for documenting the dynamic methods created by Leap::Subject#decide

See Also:

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#your_goal_name(*considerations = [], options = {}) ⇒ Object

Computes a previously-defined Leap decision named your_goal_name.

Raises:

  • (Leap::NoSolutionError)

    Leap could not compute the decision’s goal on this subject instance given its characteristics and compliance constraint.



16
17
18
# File 'lib/leap/goal_methods_documentation.rb', line 16

def method_missing(*args, &blk)
  super
end