Make the default UI accessible without the “ui.” prefix. Classes including this module may use the interaction methods on the default UI directly. Classes may also reference the ui and ui= methods.
Example:
class X
include Gem::UserInteraction
def get_answer
n = ask("What is the meaning of life?")
end
end
Methods
- A
- C
- S
- T
Included Modules
Instance Public methods
alert(*args)
Link
alert_error(*args)
Link
alert_warning(*args)
Link
ask(*args)
Link
ask_for_password(*args)
Link
ask_yes_no(*args)
Link
choose_from_list(*args)
Link
say(*args)
Link