lib/screengem/actor.rb
def asks(*questions)
      questions.each do |question|
        question.configure(self, screen)

        next if question.answer

        raise incorrect_answer(question)
      end

      self
    end
#
# Used by an actor to ask one or more questions in a step definition.
#
Used by an actor to ask one or more questions in a step definition.
Used by an actor to ask one or more questions in a step definition .
def asks(*questions)
      questions.each do |question|
        question.configure(self, screen)
        next if question.answer
        raise incorrect_answer(question)
      end
      self
    end
def asks ( * questions ) questions . each do | question | question . configure ( self , screen ) next if question . answer raise incorrect_answer ( question ) end self end
Used by an actor to ask one or more questions in a step definition.
Used by an actor to ask one or more questions in a step definition .
questions