Author | Manuela Ruiz (mruiz@lcc.uma.es) |
A sort of goal: satisfied when no more rules can be applied
returns | true iff all no more rules of the grammar can be applied |
# File lib/goals.rb, line 107 107: def satisfied? 108: satisfied = true 109: 110: applied = Shade.project.execution.apply_rule_random 111: if applied 112: satisfied = false 113: Shade.project.execution.undo 114: end 115: 116: return satisfied 117: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.