Class: Screengem::Question

Inherits:
Object
  • Object
show all
Includes:
Configurable, Dampenable, Executable
Defined in:
lib/screengem/question.rb

Overview

Base class for all questions.

Instance Method Summary collapse

Methods included from Executable

#execute

Methods included from Dampenable

#seconds_to_dampen

Methods included from Configurable

#configure

Instance Method Details

#answerObject



12
13
14
# File 'lib/screengem/question.rb', line 12

def answer
  execute.tap { sleep(seconds_to_dampen) }
end