Class: JLDrill::InfoView
- Inherits:
-
ShowInfoContext::InfoView
- Object
- Context::View
- ShowInfoContext::InfoView
- JLDrill::InfoView
- Defined in:
- lib/jldrill/views/test/InfoView.rb
Instance Attribute Summary collapse
-
#destroyed ⇒ Object
Returns the value of attribute destroyed.
-
#hadRun ⇒ Object
writeonly
Sets the attribute hadRun.
-
#hasRun ⇒ Object
readonly
Returns the value of attribute hasRun.
Attributes inherited from Context::View
Instance Method Summary collapse
- #destroy ⇒ Object
-
#initialize(context) ⇒ InfoView
constructor
A new instance of InfoView.
- #run(info) ⇒ Object
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
#destroyed ⇒ Object
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
8 9 10 |
# File 'lib/jldrill/views/test/InfoView.rb', line 8 def hadRun=(value) @hadRun = value end |
#hasRun ⇒ Object (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
#destroy ⇒ Object
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 |