Class: Pwl::Dialog::ConsoleDialog
- Defined in:
- lib/pwl/dialog/console.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(prompt) ⇒ ConsoleDialog
constructor
A new instance of ConsoleDialog.
Constructor Details
#initialize(prompt) ⇒ ConsoleDialog
Returns a new instance of ConsoleDialog.
6 7 8 9 |
# File 'lib/pwl/dialog/console.rb', line 6 def initialize(prompt) super(nil, prompt) @dialog = HighLine.new(STDIN, STDERR) end |