Class: JLDrill::Test::FilenameSelectorView

Inherits:
GetFilenameContext::FilenameSelectorView show all
Defined in:
lib/jldrill/views/test/FilenameSelectorView.rb

Instance Attribute Summary collapse

Attributes inherited from GetFilenameContext::FilenameSelectorView

#directory, #filename

Attributes inherited from Context::View

#context

Instance Method Summary collapse

Methods inherited from Context::View

#addView, #getWidget, #removeView, #removingViewFrom, #viewAddedTo

Constructor Details

#initialize(context) ⇒ FilenameSelectorView

Returns a new instance of FilenameSelectorView.



10
11
12
13
14
# File 'lib/jldrill/views/test/FilenameSelectorView.rb', line 10

def initialize(context)
	super(context)
	@destroyed = false
	@run = false
end

Instance Attribute Details

#destroyedObject

Returns the value of attribute destroyed.



7
8
9
# File 'lib/jldrill/views/test/FilenameSelectorView.rb', line 7

def destroyed
  @destroyed
end

#run(type) ⇒ Object

Returns the value of attribute run.



7
8
9
# File 'lib/jldrill/views/test/FilenameSelectorView.rb', line 7

def run
  @run
end

Instance Method Details

#destroyObject



16
17
18
# File 'lib/jldrill/views/test/FilenameSelectorView.rb', line 16

def destroy
    @destroyed = true
end