Sha256: a82c5ad9cb24b613ad1768d1645a5fe936e230809545e26e2c143936b2c09afe

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

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

module JLDrill::Test
	class ExampleView < JLDrill::ShowExamplesContext::ExampleView
    
        attr_reader :destroyed, :examples
        attr_writer :destroyed, :examples    

		def initialize(context)
			super(context)
            @destroyed = false
            @examples = []
		end
		
        def destroy
            @destroyed = true
        end
		
		def update(examples)
		    @examples = examples
		end
    end   
end

Version data entries

1 entries across 1 versions & 1 rubygems

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