Class: Dialog::Yesno

Inherits:
Base
  • Object
show all
Defined in:
lib/yesno.rb

Overview

Displays a yes/no dialog.

Example:

steps = Yesno.new do |b|
  b.text "Bla bla"
end

Box option syntax:

--yesno <text> <height> <width>

Instance Attribute Summary

Attributes inherited from Base

#output

Method Summary

Methods inherited from Base

#box_options, #box_type, #cancel?, #commandline_arguments, #common_options, #extra?, #handlers, #help?, #initialize, #method_missing, #no?, #ok?, #show, #show!, #wait, #yes?

Constructor Details

This class inherits a constructor from Dialog::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Dialog::Base