Sha256: beed4a71fff1a7240a9a5d17e9d8e97297d0459c12aefa845a80458a4346ee1a

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

# encoding: utf-8
require 'Context/View'

module JLDrill
	class PromptView < Context::View
	    attr_reader  :response, :title, :message
	
		def initialize(context, title, message)
			super(context)
			@title = title
			@message = message
			@response = @context.cancel
		end
		
		def destroy
		    # Only in the concrete class
		end
		
		def run
		    # Override in the concrete class
		end
		
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jldrill-0.6.0.1 lib/jldrill/views/test/PromptView.rb