class Pwl::Dialog::Base

Base class for dialogs

Attributes

prompt[R]
title[R]

Public Class Methods

new(title, prompt) click to toggle source

Constructs a new dialog with the given title and prompt.

# File lib/pwl/dialog/base.rb, line 17
def initialize(title, prompt)
  @title, @prompt = title, prompt
end