A 'dialog' API for Ruby