Class: Aidp::Harness::UI::QuestionValidator

Inherits:
Object
  • Object
show all
Defined in:
lib/aidp/harness/ui/question_collector.rb

Overview

Validates question responses

Instance Method Summary collapse

Instance Method Details

#validate(response, question) ⇒ Object



116
117
118
119
120
# File 'lib/aidp/harness/ui/question_collector.rb', line 116

def validate(response, question)
  validate_required(response, question)
  validate_format(response, question)
  validate_options(response, question)
end