Class: JLDrill::InfoView

Inherits:
ShowInfoContext::InfoView show all
Defined in:
lib/jldrill/views/test/InfoView.rb

Instance Attribute Summary collapse

Attributes inherited from Context::View

#context

Instance Method Summary collapse

Methods inherited from Context::View

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

Constructor Details

#initialize(context) ⇒ InfoView

Returns a new instance of InfoView.



10
11
12
# File 'lib/jldrill/views/test/InfoView.rb', line 10

def initialize(context)
	super(context)
end

Instance Attribute Details

#destroyedObject

Returns the value of attribute destroyed.



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

def destroyed
  @destroyed
end

#hadRun=(value) ⇒ Object (writeonly)

Sets the attribute hadRun

Parameters:

  • value

    the value to set the attribute hadRun to.



8
9
10
# File 'lib/jldrill/views/test/InfoView.rb', line 8

def hadRun=(value)
  @hadRun = value
end

#hasRunObject (readonly)

Returns the value of attribute hasRun.



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

def hasRun
  @hasRun
end

Instance Method Details

#destroyObject



14
15
16
# File 'lib/jldrill/views/test/InfoView.rb', line 14

def destroy
    @destroyed = true
end

#run(info) ⇒ Object



18
19
20
21
# File 'lib/jldrill/views/test/InfoView.rb', line 18

def run(info)
          super(info)
    @hasRun = true
end