阅读背景:

如何使用rspec 3进行存根输入

来源:互联网 

the method in question:

有问题的方法:

  def first_question
    puts "Do you know how to play? (yes or no)\n"
    answer = STDIN.gets.chomp.downcase.to_i
    return answer
  end
  def first



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: