Method: Pwl::Dialog::Base#initialize

Defined in:
lib/pwl/dialog/base.rb

#initialize(title, prompt) ⇒ Base

Constructs a new dialog with the given title and prompt.



17
18
19
# File 'lib/pwl/dialog/base.rb', line 17

def initialize(title, prompt)
  @title, @prompt = title, prompt
end