Class: VocaBuil::IterativeCheck
- Inherits:
-
Object
- Object
- VocaBuil::IterativeCheck
- Defined in:
- lib/voca_buil/multi_check.rb,
lib/voca_buil/_stacks/_stacks_v2_260114/multi_check.rb
Direct Known Subclasses
Constant Summary collapse
- SCORE_LOG_FILE =
追加
'./score_log.yaml'
Instance Method Summary collapse
-
#initialize(options, iter = 2) ⇒ IterativeCheck
constructor
A new instance of IterativeCheck.
- #run ⇒ Object
Constructor Details
#initialize(options, iter = 2) ⇒ IterativeCheck
Returns a new instance of IterativeCheck.
266 267 268 269 270 271 272 |
# File 'lib/voca_buil/multi_check.rb', line 266 def initialize(, iter = 2) @options = @iter = iter @score = 0 @wrong_answers = [] @dir_count = Hash.new(0) # ディレクトリごとの間違い数カウント end |
Instance Method Details
#run ⇒ Object
274 275 276 277 278 279 |
# File 'lib/voca_buil/multi_check.rb', line 274 def run run_checks print_score print_wrong_answers print_difficult_roots end |