Class: RestMyCase::Judge::Base
- Inherits:
-
Object
- Object
- RestMyCase::Judge::Base
- Defined in:
- lib/rest_my_case/judge/base.rb
Instance Method Summary collapse
- #determine_the_sentence ⇒ Object
-
#initialize(trial_case) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(trial_case) ⇒ Base
Returns a new instance of Base.
4 5 6 7 8 |
# File 'lib/rest_my_case/judge/base.rb', line 4 def initialize(trial_case) @trial_case = trial_case @performed_use_cases = [] @use_case_that_aborted = nil end |
Instance Method Details
#determine_the_sentence ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/rest_my_case/judge/base.rb', line 10 def determine_the_sentence run_setup_methods run_perform_methods run_rollback_methods run_final_methods @trial_case.should_abort = !@use_case_that_aborted.nil? end |