Method: Tataru::Quest#initialize

Defined in:
lib/tataru/quest.rb

#initialize(pool, current_state = {}) ⇒ Quest

Returns a new instance of Quest.



8
9
10
11
12
# File 'lib/tataru/quest.rb', line 8

def initialize(pool, current_state = {})
  @pool = pool
  @current_state = current_state
  @dsl = TopDsl.new(pool)
end