Sha256: 1100ced3b8adf73010343051be0e363d8562ba98365a5b1eb6dd50c601394119

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 Bytes

Contents

# encoding: utf-8
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.6.0.1 lib/jldrill/views/test/OptionsView.rb