Class: Clif::Questioner
- Inherits:
-
Object
- Object
- Clif::Questioner
- Defined in:
- lib/clif/questioner.rb
Instance Method Summary collapse
- #ask(question) ⇒ Object
-
#initialize(options = {}) ⇒ Questioner
constructor
A new instance of Questioner.
Constructor Details
#initialize(options = {}) ⇒ Questioner
4 5 6 |
# File 'lib/clif/questioner.rb', line 4 def initialize( = {}) @options = end |
Instance Method Details
#ask(question) ⇒ Object
8 9 10 11 12 |
# File 'lib/clif/questioner.rb', line 8 def ask(question) @question = question ask_question get_response end |