Sha256: 4206aa411c44a4c0132e6ba570ad924d7e3feea9eb05666d1825c39b46904e42

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

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.5.1.7 lib/jldrill/views/test/PromptView.rb