Class: JLDrill::Test::OptionsView
- Inherits:
-
SetOptionsContext::OptionsView
- Object
- Context::View
- SetOptionsContext::OptionsView
- JLDrill::Test::OptionsView
- Defined in:
- lib/jldrill/views/test/OptionsView.rb
Instance Attribute Summary collapse
-
#destroyed ⇒ Object
Returns the value of attribute destroyed.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#hasRun ⇒ Object
Returns the value of attribute hasRun.
-
#updated ⇒ Object
Returns the value of attribute updated.
Attributes inherited from SetOptionsContext::OptionsView
Attributes inherited from Context::View
Instance Method Summary collapse
- #destroy ⇒ Object
-
#initialize(context) ⇒ OptionsView
constructor
A new instance of OptionsView.
- #run ⇒ Object
- #setDictionaryFilename(filename) ⇒ Object
- #update(options) ⇒ Object
Methods inherited from SetOptionsContext::OptionsView
#exit, #optionsSet=, #optionsSet?
Methods inherited from Context::View
#addView, #getWidget, #removeView, #removingViewFrom, #viewAddedTo
Constructor Details
#initialize(context) ⇒ OptionsView
Returns a new instance of OptionsView.
9 10 11 12 13 14 15 |
# File 'lib/jldrill/views/test/OptionsView.rb', line 9 def initialize(context) super(context) @destroyed = false @updated = false @filename = nil @hasRun = false end |
Instance Attribute Details
#destroyed ⇒ Object
Returns the value of attribute destroyed.
6 7 8 |
# File 'lib/jldrill/views/test/OptionsView.rb', line 6 def destroyed @destroyed end |
#filename ⇒ Object
Returns the value of attribute filename.
6 7 8 |
# File 'lib/jldrill/views/test/OptionsView.rb', line 6 def filename @filename end |
#hasRun ⇒ Object
Returns the value of attribute hasRun.
6 7 8 |
# File 'lib/jldrill/views/test/OptionsView.rb', line 6 def hasRun @hasRun end |
#updated ⇒ Object
Returns the value of attribute updated.
6 7 8 |
# File 'lib/jldrill/views/test/OptionsView.rb', line 6 def updated @updated end |
Instance Method Details
#destroy ⇒ Object
17 18 19 |
# File 'lib/jldrill/views/test/OptionsView.rb', line 17 def destroy @destroyed = true end |
#run ⇒ Object
29 30 31 32 |
# File 'lib/jldrill/views/test/OptionsView.rb', line 29 def run @hasRun = true super end |
#setDictionaryFilename(filename) ⇒ Object
25 26 27 |
# File 'lib/jldrill/views/test/OptionsView.rb', line 25 def setDictionaryFilename(filename) @filename = filename end |
#update(options) ⇒ Object
21 22 23 |
# File 'lib/jldrill/views/test/OptionsView.rb', line 21 def update() @updated = true end |