Method: StageBase#initialize

Defined in:
lib/asker/ai/problem/stage_base.rb

#initialize(problem) ⇒ StageBase

Returns a new instance of StageBase.



5
6
7
8
9
10
# File 'lib/asker/ai/problem/stage_base.rb', line 5

def initialize(problem)
  @problem = problem
  @customs = get_customs(@problem)
  @customizer = Customizer.new(@problem)
  @counter = @problem.questions.size
end