class BaseStage
Public Class Methods
new(concept_ai)
click to toggle source
# File lib/asker/ai/stages/base_stage.rb, line 3 def initialize(concept_ai) @concept_ai = concept_ai end
Public Instance Methods
method_missing(m, *args, &block)
click to toggle source
If a method we call is missing, pass the call onto the object we delegate to.
# File lib/asker/ai/stages/base_stage.rb, line 9 def method_missing(m, *args, &block) @concept_ai.send(m, *args, &block) end
run()
click to toggle source
# File lib/asker/ai/stages/base_stage.rb, line 13 def run raise 'Implement run method!' end