Sha256: 1045ad366ba8dc6e9df5fe1f0b454bbefc91e593ca377491c2ca12448e48e83d

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

# encoding: utf-8
require 'jldrill/contexts/ShowInfoContext'

module JLDrill
	class InfoView < JLDrill::ShowInfoContext::InfoView

        attr_reader :destroyed, :hasRun
        attr_writer :destroyed, :hadRun

		def initialize(context)
			super(context)
		end
	    
		def destroy
		    @destroyed = true
		end
		
		def run(info)
            super(info)
		    @hasRun = true
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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