Sha256: 00da20c3a4bfb5abec129ce3f3c2154c89b80946a9047c8f91a55badd2340aad

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 Bytes

Contents

require 'jldrill/contexts/SetOptionsContext'

module JLDrill::Test
	class OptionsView < JLDrill::SetOptionsContext::OptionsView
	    attr_reader :destroyed, :updated, :filename, :hasRun
	    attr_writer :destroyed, :updated, :filename, :hasRun
	
		def initialize(context)
			super(context)
            @destroyed = false
            @updated = false
            @filename = nil
            @hasRun = false
		end

        def destroy
            @destroyed = true
        end

		def update(options)
		    @updated = true
		end

        def setDictionaryFilename(filename)
            @filename = filename
        end
		
		def run
            @hasRun = true
            super
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jldrill-0.5.1.7 lib/jldrill/views/test/OptionsView.rb