Module: Question
- Defined in:
- lib/question.rb,
lib/question/tty.rb,
lib/question/list.rb,
lib/question/input.rb,
lib/question/confirm.rb,
lib/question/version.rb,
lib/question/password.rb,
lib/question/checkbox_list.rb
Defined Under Namespace
Classes: CheckboxList, Confirm, Input, List, Password, TTY
Constant Summary
collapse
- VERSION =
"0.2.2"
Class Method Summary
collapse
Class Method Details
.checkbox_list(*args) ⇒ Object
17
18
19
|
# File 'lib/question.rb', line 17
def self.checkbox_list(*args)
CheckboxList.new(*args).ask
end
|
.confirm(*args) ⇒ Object
33
34
35
|
# File 'lib/question.rb', line 33
def self.confirm(*args)
Confirm.new(*args).ask
end
|
25
26
27
|
# File 'lib/question.rb', line 25
def self.input(*args)
Input.new(*args).ask
end
|
.list(*args) ⇒ Object
21
22
23
|
# File 'lib/question.rb', line 21
def self.list(*args)
List.new(*args).ask
end
|
.password(*args) ⇒ Object
29
30
31
|
# File 'lib/question.rb', line 29
def self.password(*args)
Password.new(*args).ask
end
|