class HighLine::Question::AnswerConverter

def to_pathname

Returns:
  • (Pathname) - answer converted to an Pathname
def to_pathname
  self.answer = choices_complete(answer)
  Pathname.new(File.join(directory.to_s, answer.last))
end