Class: JavaFeedbackHook
- Inherits:
-
Mumukit::Hook
- Object
- Mumukit::Hook
- JavaFeedbackHook
- Defined in:
- lib/feedback_hook.rb
Defined Under Namespace
Classes: JavaExplainer
Instance Method Summary collapse
Instance Method Details
#run!(request, results) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/feedback_hook.rb', line 2 def run!(request, results) content = request.content test_results = results.test_results[0] JavaExplainer.new.explain(content, test_results) if test_results.is_a? String end |